| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_THREAD_MANAGER_CHROME_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DBUS_THREAD_MANAGER_CHROME_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 //JAMES namespace chromeos for everything? |
| 11 |
| 12 namespace chromeos { |
| 13 class DebugDaemonClient; |
| 14 class SystemClockClient; |
| 15 } |
| 16 |
| 17 class DBusThreadManagerChrome { |
| 18 public: |
| 19 static DBusThreadManagerChrome* Get(); |
| 20 |
| 21 //JAMES external ownership? or traditional singleton like DBusThreadManager? |
| 22 DBusThreadManagerChrome(); |
| 23 ~DBusThreadManagerChrome(); |
| 24 |
| 25 // D-Bus clients available to chrome. |
| 26 chromeos::DebugDaemonClient* GetDebugDaemonClient(); |
| 27 chromeos::SystemClockClient* GetSystemClockClient(); |
| 28 |
| 29 private: |
| 30 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerChrome); |
| 31 }; |
| 32 |
| 33 #endif // CHROME_BROWSER_CHROMEOS_DBUS_THREAD_MANAGER_CHROME_H_ |
| OLD | NEW |