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

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

Issue 681723003: Add new shill client for VPN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes nit from Steven Created 6 years, 1 month 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
« no previous file with comments | « chromeos/dbus/dbus_client_bundle.cc ('k') | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 class PermissionBrokerClient; 54 class PermissionBrokerClient;
55 class PowerManagerClient; 55 class PowerManagerClient;
56 class PowerPolicyController; 56 class PowerPolicyController;
57 class PrivetDaemonClient; 57 class PrivetDaemonClient;
58 class SessionManagerClient; 58 class SessionManagerClient;
59 class ShillDeviceClient; 59 class ShillDeviceClient;
60 class ShillIPConfigClient; 60 class ShillIPConfigClient;
61 class ShillManagerClient; 61 class ShillManagerClient;
62 class ShillProfileClient; 62 class ShillProfileClient;
63 class ShillServiceClient; 63 class ShillServiceClient;
64 class ShillThirdPartyVpnDriverClient;
64 class SMSClient; 65 class SMSClient;
65 class SystemClockClient; 66 class SystemClockClient;
66 class UpdateEngineClient; 67 class UpdateEngineClient;
67 68
68 // DBusThreadManager manages the D-Bus thread, the thread dedicated to 69 // DBusThreadManager manages the D-Bus thread, the thread dedicated to
69 // handling asynchronous D-Bus operations. 70 // handling asynchronous D-Bus operations.
70 // 71 //
71 // This class also manages D-Bus connections and D-Bus clients, which 72 // This class also manages D-Bus connections and D-Bus clients, which
72 // depend on the D-Bus thread to ensure the right order of shutdowns for 73 // depend on the D-Bus thread to ensure the right order of shutdowns for
73 // the D-Bus thread, the D-Bus connections, and the D-Bus clients. 74 // the D-Bus thread, the D-Bus connections, and the D-Bus clients.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 PermissionBrokerClient* GetPermissionBrokerClient(); 144 PermissionBrokerClient* GetPermissionBrokerClient();
144 PowerManagerClient* GetPowerManagerClient(); 145 PowerManagerClient* GetPowerManagerClient();
145 PowerPolicyController* GetPowerPolicyController(); 146 PowerPolicyController* GetPowerPolicyController();
146 PrivetDaemonClient* GetPrivetDaemonClient(); 147 PrivetDaemonClient* GetPrivetDaemonClient();
147 SessionManagerClient* GetSessionManagerClient(); 148 SessionManagerClient* GetSessionManagerClient();
148 ShillDeviceClient* GetShillDeviceClient(); 149 ShillDeviceClient* GetShillDeviceClient();
149 ShillIPConfigClient* GetShillIPConfigClient(); 150 ShillIPConfigClient* GetShillIPConfigClient();
150 ShillManagerClient* GetShillManagerClient(); 151 ShillManagerClient* GetShillManagerClient();
151 ShillServiceClient* GetShillServiceClient(); 152 ShillServiceClient* GetShillServiceClient();
152 ShillProfileClient* GetShillProfileClient(); 153 ShillProfileClient* GetShillProfileClient();
154 ShillThirdPartyVpnDriverClient* GetShillThirdPartyVpnDriverClient();
153 SMSClient* GetSMSClient(); 155 SMSClient* GetSMSClient();
154 SystemClockClient* GetSystemClockClient(); 156 SystemClockClient* GetSystemClockClient();
155 UpdateEngineClient* GetUpdateEngineClient(); 157 UpdateEngineClient* GetUpdateEngineClient();
156 158
157 private: 159 private:
158 friend class DBusThreadManagerSetter; 160 friend class DBusThreadManagerSetter;
159 161
160 // Creates a new DBusThreadManager using the DBusClients set in 162 // Creates a new DBusThreadManager using the DBusClients set in
161 // |client_bundle|. 163 // |client_bundle|.
162 explicit DBusThreadManager(scoped_ptr<DBusClientBundle> client_bundle); 164 explicit DBusThreadManager(scoped_ptr<DBusClientBundle> client_bundle);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 friend class DBusThreadManager; 247 friend class DBusThreadManager;
246 248
247 DBusThreadManagerSetter(); 249 DBusThreadManagerSetter();
248 250
249 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerSetter); 251 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerSetter);
250 }; 252 };
251 253
252 } // namespace chromeos 254 } // namespace chromeos
253 255
254 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 256 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_client_bundle.cc ('k') | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698