1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22

ash / public / ash_interfaces.h [blame]

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_PUBLIC_ASH_INTERFACES_H_
#define ASH_PUBLIC_ASH_INTERFACES_H_

#include "ash/ash_export.h"
#include "chromeos/crosapi/mojom/cros_display_config.mojom.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"

namespace ash {

// Helper methods for binding interfaces exposed by Ash. Must only be called on
// the main thread.
ASH_EXPORT void BindCrosDisplayConfigController(
    mojo::PendingReceiver<crosapi::mojom::CrosDisplayConfigController>
        receiver);

}  // namespace ash

#endif  // ASH_PUBLIC_ASH_INTERFACES_H_