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

Side by Side Diff: ash/common/dbus_thread_manager_ash.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 ASH_COMMON_DBUS_THREAD_MANAGER_ASH_H_
6 #define ASH_COMMON_DBUS_THREAD_MANAGER_ASH_H_
7
8 #include "ash/ash_export.h"
9 #include "base/macros.h"
10
11 namespace chromeos {
12 class PowerManagerClient;
13 class SessionManagerClient;
14 class SystemClockClient;
15 }
16
17 namespace ash {
18
19 //JAMES DBusClientBundleAsh?
20 class ASH_EXPORT DBusThreadManagerAsh {
21 public:
22 static DBusThreadManagerAsh* Get();
23
24 //JAMES external ownership? or traditional singleton like DBusThreadManager?
25 DBusThreadManagerAsh();
26 ~DBusThreadManagerAsh();
27
28 // D-Bus clients available to ash.
29 chromeos::PowerManagerClient* GetPowerManagerClient();
30 chromeos::SessionManagerClient* GetSessionManagerClient();
31 chromeos::SystemClockClient* GetSystemClockClient();
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerAsh);
35 };
36
37 } // namespace ash
38
39 #endif // ASH_COMMON_DBUS_THREAD_MANAGER_ASH_H_
OLDNEW
« no previous file with comments | « ash/common/accelerators/accelerator_controller.cc ('k') | ash/common/dbus_thread_manager_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698