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

Side by Side 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« 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