blob: 084c432a13ac25d5f192bb8c0b4642a8e5e85e9f [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/public/ash_interfaces.h"
#include <utility>
#include "ash/display/cros_display_config.h"
#include "ash/shell.h"
namespace ash {
void BindCrosDisplayConfigController(
mojo::PendingReceiver<crosapi::mojom::CrosDisplayConfigController>
receiver) {
if (Shell::HasInstance())
Shell::Get()->cros_display_config()->BindReceiver(std::move(receiver));
}
} // namespace ash