| Index: ash/common/dbus_thread_manager_ash.h
|
| diff --git a/ash/common/dbus_thread_manager_ash.h b/ash/common/dbus_thread_manager_ash.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ee54ea9811de56dc9f70bd745ffbd6b1faa4fa82
|
| --- /dev/null
|
| +++ b/ash/common/dbus_thread_manager_ash.h
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2016 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_COMMON_DBUS_THREAD_MANAGER_ASH_H_
|
| +#define ASH_COMMON_DBUS_THREAD_MANAGER_ASH_H_
|
| +
|
| +#include "ash/ash_export.h"
|
| +#include "base/macros.h"
|
| +
|
| +namespace chromeos {
|
| +class PowerManagerClient;
|
| +class SessionManagerClient;
|
| +class SystemClockClient;
|
| +}
|
| +
|
| +namespace ash {
|
| +
|
| +//JAMES DBusClientBundleAsh?
|
| +class ASH_EXPORT DBusThreadManagerAsh {
|
| + public:
|
| + static DBusThreadManagerAsh* Get();
|
| +
|
| + //JAMES external ownership? or traditional singleton like DBusThreadManager?
|
| + DBusThreadManagerAsh();
|
| + ~DBusThreadManagerAsh();
|
| +
|
| + // D-Bus clients available to ash.
|
| + chromeos::PowerManagerClient* GetPowerManagerClient();
|
| + chromeos::SessionManagerClient* GetSessionManagerClient();
|
| + chromeos::SystemClockClient* GetSystemClockClient();
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerAsh);
|
| +};
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_COMMON_DBUS_THREAD_MANAGER_ASH_H_
|
|
|