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

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: Extended to include related changes in dbus and adds a fake client 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class NfcTagClient; 52 class NfcTagClient;
53 class PermissionBrokerClient; 53 class PermissionBrokerClient;
54 class PowerManagerClient; 54 class PowerManagerClient;
55 class PowerPolicyController; 55 class PowerPolicyController;
56 class SessionManagerClient; 56 class SessionManagerClient;
57 class ShillDeviceClient; 57 class ShillDeviceClient;
58 class ShillIPConfigClient; 58 class ShillIPConfigClient;
59 class ShillManagerClient; 59 class ShillManagerClient;
60 class ShillProfileClient; 60 class ShillProfileClient;
61 class ShillServiceClient; 61 class ShillServiceClient;
62 class ShillThirdPartyVpnDriverClient;
62 class SMSClient; 63 class SMSClient;
63 class SystemClockClient; 64 class SystemClockClient;
64 class UpdateEngineClient; 65 class UpdateEngineClient;
65 66
66 // DBusThreadManager manages the D-Bus thread, the thread dedicated to 67 // DBusThreadManager manages the D-Bus thread, the thread dedicated to
67 // handling asynchronous D-Bus operations. 68 // handling asynchronous D-Bus operations.
68 // 69 //
69 // This class also manages D-Bus connections and D-Bus clients, which 70 // This class also manages D-Bus connections and D-Bus clients, which
70 // depend on the D-Bus thread to ensure the right order of shutdowns for 71 // depend on the D-Bus thread to ensure the right order of shutdowns for
71 // the D-Bus thread, the D-Bus connections, and the D-Bus clients. 72 // the D-Bus thread, the D-Bus connections, and the D-Bus clients.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 NfcTagClient* GetNfcTagClient(); 140 NfcTagClient* GetNfcTagClient();
140 PermissionBrokerClient* GetPermissionBrokerClient(); 141 PermissionBrokerClient* GetPermissionBrokerClient();
141 PowerManagerClient* GetPowerManagerClient(); 142 PowerManagerClient* GetPowerManagerClient();
142 PowerPolicyController* GetPowerPolicyController(); 143 PowerPolicyController* GetPowerPolicyController();
143 SessionManagerClient* GetSessionManagerClient(); 144 SessionManagerClient* GetSessionManagerClient();
144 ShillDeviceClient* GetShillDeviceClient(); 145 ShillDeviceClient* GetShillDeviceClient();
145 ShillIPConfigClient* GetShillIPConfigClient(); 146 ShillIPConfigClient* GetShillIPConfigClient();
146 ShillManagerClient* GetShillManagerClient(); 147 ShillManagerClient* GetShillManagerClient();
147 ShillServiceClient* GetShillServiceClient(); 148 ShillServiceClient* GetShillServiceClient();
148 ShillProfileClient* GetShillProfileClient(); 149 ShillProfileClient* GetShillProfileClient();
150 ShillThirdPartyVpnDriverClient* GetShillThirdPartyVpnDriverClient();
149 SMSClient* GetSMSClient(); 151 SMSClient* GetSMSClient();
150 SystemClockClient* GetSystemClockClient(); 152 SystemClockClient* GetSystemClockClient();
151 UpdateEngineClient* GetUpdateEngineClient(); 153 UpdateEngineClient* GetUpdateEngineClient();
152 154
153 private: 155 private:
154 friend class DBusThreadManagerSetter; 156 friend class DBusThreadManagerSetter;
155 157
156 // Creates a new DBusThreadManager using the DBusClients set in 158 // Creates a new DBusThreadManager using the DBusClients set in
157 // |client_bundle|. 159 // |client_bundle|.
158 explicit DBusThreadManager(scoped_ptr<DBusClientBundle> client_bundle); 160 explicit DBusThreadManager(scoped_ptr<DBusClientBundle> client_bundle);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 friend class DBusThreadManager; 241 friend class DBusThreadManager;
240 242
241 DBusThreadManagerSetter(); 243 DBusThreadManagerSetter();
242 244
243 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerSetter); 245 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerSetter);
244 }; 246 };
245 247
246 } // namespace chromeos 248 } // namespace chromeos
247 249
248 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 250 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698