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

Side by Side Diff: chromeos/dbus/dbus_thread_manager.h

Issue 12564007: Hook up system clock update dbus signal to chrome and ash tray ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix MockDBusThreadManagerWithoutGMock compiling issue. Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 5 #ifndef CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class PermissionBrokerClient; 48 class PermissionBrokerClient;
49 class PowerManagerClient; 49 class PowerManagerClient;
50 class PowerPolicyController; 50 class PowerPolicyController;
51 class SMSClient; 51 class SMSClient;
52 class SessionManagerClient; 52 class SessionManagerClient;
53 class ShillDeviceClient; 53 class ShillDeviceClient;
54 class ShillIPConfigClient; 54 class ShillIPConfigClient;
55 class ShillManagerClient; 55 class ShillManagerClient;
56 class ShillProfileClient; 56 class ShillProfileClient;
57 class ShillServiceClient; 57 class ShillServiceClient;
58 class SystemClockClient;
58 class UpdateEngineClient; 59 class UpdateEngineClient;
59 60
60 // DBusThreadManager manages the D-Bus thread, the thread dedicated to 61 // DBusThreadManager manages the D-Bus thread, the thread dedicated to
61 // handling asynchronous D-Bus operations. 62 // handling asynchronous D-Bus operations.
62 // 63 //
63 // This class also manages D-Bus connections and D-Bus clients, which 64 // This class also manages D-Bus connections and D-Bus clients, which
64 // depend on the D-Bus thread to ensure the right order of shutdowns for 65 // depend on the D-Bus thread to ensure the right order of shutdowns for
65 // the D-Bus thread, the D-Bus connections, and the D-Bus clients. 66 // the D-Bus thread, the D-Bus connections, and the D-Bus clients.
66 // 67 //
67 // CALLBACKS IN D-BUS CLIENTS: 68 // CALLBACKS IN D-BUS CLIENTS:
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual PermissionBrokerClient* GetPermissionBrokerClient() = 0; 143 virtual PermissionBrokerClient* GetPermissionBrokerClient() = 0;
143 virtual PowerManagerClient* GetPowerManagerClient() = 0; 144 virtual PowerManagerClient* GetPowerManagerClient() = 0;
144 virtual PowerPolicyController* GetPowerPolicyController() = 0; 145 virtual PowerPolicyController* GetPowerPolicyController() = 0;
145 virtual SessionManagerClient* GetSessionManagerClient() = 0; 146 virtual SessionManagerClient* GetSessionManagerClient() = 0;
146 virtual ShillDeviceClient* GetShillDeviceClient() = 0; 147 virtual ShillDeviceClient* GetShillDeviceClient() = 0;
147 virtual ShillIPConfigClient* GetShillIPConfigClient() = 0; 148 virtual ShillIPConfigClient* GetShillIPConfigClient() = 0;
148 virtual ShillManagerClient* GetShillManagerClient() = 0; 149 virtual ShillManagerClient* GetShillManagerClient() = 0;
149 virtual ShillProfileClient* GetShillProfileClient() = 0; 150 virtual ShillProfileClient* GetShillProfileClient() = 0;
150 virtual ShillServiceClient* GetShillServiceClient() = 0; 151 virtual ShillServiceClient* GetShillServiceClient() = 0;
151 virtual SMSClient* GetSMSClient() = 0; 152 virtual SMSClient* GetSMSClient() = 0;
153 virtual SystemClockClient* GetSystemClockClient() = 0;
152 virtual UpdateEngineClient* GetUpdateEngineClient() = 0; 154 virtual UpdateEngineClient* GetUpdateEngineClient() = 0;
153 155
154 // Removes the ibus engine services for |object_path|. 156 // Removes the ibus engine services for |object_path|.
155 virtual void RemoveIBusEngineService(const dbus::ObjectPath& object_path) = 0; 157 virtual void RemoveIBusEngineService(const dbus::ObjectPath& object_path) = 0;
156 158
157 virtual ~DBusThreadManager(); 159 virtual ~DBusThreadManager();
158 160
159 protected: 161 protected:
160 DBusThreadManager(); 162 DBusThreadManager();
161 163
162 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); 164 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager);
163 }; 165 };
164 166
165 } // namespace chromeos 167 } // namespace chromeos
166 168
167 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 169 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698