123456789101112131415161718192021222324252627 |
- // Copyright 2020 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef ASH_COMPONENTS_MULTIDEVICE_STUB_MULTIDEVICE_UTIL_H_
- #define ASH_COMPONENTS_MULTIDEVICE_STUB_MULTIDEVICE_UTIL_H_
- #include "ash/components/multidevice/remote_device.h"
- namespace ash::multidevice {
- // Returns a fake host phone with all host features enabled. Can be used as a
- // stub remote device to fake out multidevice features.
- RemoteDevice CreateStubHostPhone();
- // Returns a fake client computer with the client features enabled according to
- // their corresponding flags. Can be used as a stub remote device to fake out
- // multidevice features.
- RemoteDevice CreateStubClientComputer();
- // Returns if we should use stubbed implementations of multidevice features,
- // i.e. when we are running a Linux CrOS build that doesn't support them.
- bool ShouldUseMultideviceStubs();
- } // namespace ash::multidevice
- #endif // ASH_COMPONENTS_MULTIDEVICE_STUB_MULTIDEVICE_UTIL_H_
|