Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: chrome/browser/chromeos/dbus_thread_manager_chrome.h

Issue 2319783002: mash: Allow a subset of D-Bus clients to be created in DBusThreadManager (Closed)
Patch Set: WIP, add DBusThreadManagerAsh and DBusThreadManagerChrome Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/dbus_thread_manager_chrome.h
diff --git a/chrome/browser/chromeos/dbus_thread_manager_chrome.h b/chrome/browser/chromeos/dbus_thread_manager_chrome.h
new file mode 100644
index 0000000000000000000000000000000000000000..7aca5c993c8ad8a5844d4047faf6614ed0b4a621
--- /dev/null
+++ b/chrome/browser/chromeos/dbus_thread_manager_chrome.h
@@ -0,0 +1,33 @@
+// 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 CHROME_BROWSER_CHROMEOS_DBUS_THREAD_MANAGER_CHROME_H_
+#define CHROME_BROWSER_CHROMEOS_DBUS_THREAD_MANAGER_CHROME_H_
+
+#include "base/macros.h"
+
+//JAMES namespace chromeos for everything?
+
+namespace chromeos {
+class DebugDaemonClient;
+class SystemClockClient;
+}
+
+class DBusThreadManagerChrome {
+ public:
+ static DBusThreadManagerChrome* Get();
+
+ //JAMES external ownership? or traditional singleton like DBusThreadManager?
+ DBusThreadManagerChrome();
+ ~DBusThreadManagerChrome();
+
+ // D-Bus clients available to chrome.
+ chromeos::DebugDaemonClient* GetDebugDaemonClient();
+ chromeos::SystemClockClient* GetSystemClockClient();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerChrome);
+};
+
+#endif // CHROME_BROWSER_CHROMEOS_DBUS_THREAD_MANAGER_CHROME_H_
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/dbus_thread_manager_chrome.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698