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

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

Issue 1421023002: Remove the ARC Bridge Service (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Removing the service instead of renaming it Created 5 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"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chromeos/chromeos_export.h" 13 #include "chromeos/chromeos_export.h"
14 #include "chromeos/dbus/dbus_client_bundle.h" 14 #include "chromeos/dbus/dbus_client_bundle.h"
15 15
16 namespace base { 16 namespace base {
17 class Thread; 17 class Thread;
18 } // namespace base 18 } // namespace base
19 19
20 namespace dbus { 20 namespace dbus {
21 class Bus; 21 class Bus;
22 class ObjectPath; 22 class ObjectPath;
23 } // namespace dbus 23 } // namespace dbus
24 24
25 namespace chromeos { 25 namespace chromeos {
26 26
27 // Style Note: Clients are sorted by names. 27 // Style Note: Clients are sorted by names.
28 class AmplifierClient; 28 class AmplifierClient;
29 class ApManagerClient; 29 class ApManagerClient;
30 class ArcBridgeClient;
31 class AudioDspClient; 30 class AudioDspClient;
32 class BluetoothAdapterClient; 31 class BluetoothAdapterClient;
33 class BluetoothLEAdvertisingManagerClient; 32 class BluetoothLEAdvertisingManagerClient;
34 class BluetoothAgentManagerClient; 33 class BluetoothAgentManagerClient;
35 class BluetoothDeviceClient; 34 class BluetoothDeviceClient;
36 class BluetoothGattCharacteristicClient; 35 class BluetoothGattCharacteristicClient;
37 class BluetoothGattDescriptorClient; 36 class BluetoothGattDescriptorClient;
38 class BluetoothGattManagerClient; 37 class BluetoothGattManagerClient;
39 class BluetoothGattServiceClient; 38 class BluetoothGattServiceClient;
40 class BluetoothInputClient; 39 class BluetoothInputClient;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Returns true if |client| is stubbed. 116 // Returns true if |client| is stubbed.
118 bool IsUsingStub(DBusClientBundle::DBusClientType client); 117 bool IsUsingStub(DBusClientBundle::DBusClientType client);
119 118
120 // Returns various D-Bus bus instances, owned by DBusThreadManager. 119 // Returns various D-Bus bus instances, owned by DBusThreadManager.
121 dbus::Bus* GetSystemBus(); 120 dbus::Bus* GetSystemBus();
122 121
123 // All returned objects are owned by DBusThreadManager. Do not use these 122 // All returned objects are owned by DBusThreadManager. Do not use these
124 // pointers after DBusThreadManager has been shut down. 123 // pointers after DBusThreadManager has been shut down.
125 AmplifierClient* GetAmplifierClient(); 124 AmplifierClient* GetAmplifierClient();
126 ApManagerClient* GetApManagerClient(); 125 ApManagerClient* GetApManagerClient();
127 ArcBridgeClient* GetArcBridgeClient();
128 AudioDspClient* GetAudioDspClient(); 126 AudioDspClient* GetAudioDspClient();
129 BluetoothAdapterClient* GetBluetoothAdapterClient(); 127 BluetoothAdapterClient* GetBluetoothAdapterClient();
130 BluetoothLEAdvertisingManagerClient* GetBluetoothLEAdvertisingManagerClient(); 128 BluetoothLEAdvertisingManagerClient* GetBluetoothLEAdvertisingManagerClient();
131 BluetoothAgentManagerClient* GetBluetoothAgentManagerClient(); 129 BluetoothAgentManagerClient* GetBluetoothAgentManagerClient();
132 BluetoothDeviceClient* GetBluetoothDeviceClient(); 130 BluetoothDeviceClient* GetBluetoothDeviceClient();
133 BluetoothGattCharacteristicClient* GetBluetoothGattCharacteristicClient(); 131 BluetoothGattCharacteristicClient* GetBluetoothGattCharacteristicClient();
134 BluetoothGattDescriptorClient* GetBluetoothGattDescriptorClient(); 132 BluetoothGattDescriptorClient* GetBluetoothGattDescriptorClient();
135 BluetoothGattManagerClient* GetBluetoothGattManagerClient(); 133 BluetoothGattManagerClient* GetBluetoothGattManagerClient();
136 BluetoothGattServiceClient* GetBluetoothGattServiceClient(); 134 BluetoothGattServiceClient* GetBluetoothGattServiceClient();
137 BluetoothInputClient* GetBluetoothInputClient(); 135 BluetoothInputClient* GetBluetoothInputClient();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 scoped_ptr<DBusClientBundle> client_bundle_; 202 scoped_ptr<DBusClientBundle> client_bundle_;
205 203
206 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); 204 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager);
207 }; 205 };
208 206
209 class CHROMEOS_EXPORT DBusThreadManagerSetter { 207 class CHROMEOS_EXPORT DBusThreadManagerSetter {
210 public: 208 public:
211 ~DBusThreadManagerSetter(); 209 ~DBusThreadManagerSetter();
212 210
213 void SetAmplifierClient(scoped_ptr<AmplifierClient> client); 211 void SetAmplifierClient(scoped_ptr<AmplifierClient> client);
214 void SetArcBridgeClient(scoped_ptr<ArcBridgeClient> client);
215 void SetAudioDspClient(scoped_ptr<AudioDspClient> client); 212 void SetAudioDspClient(scoped_ptr<AudioDspClient> client);
216 void SetBluetoothAdapterClient(scoped_ptr<BluetoothAdapterClient> client); 213 void SetBluetoothAdapterClient(scoped_ptr<BluetoothAdapterClient> client);
217 void SetBluetoothLEAdvertisingManagerClient( 214 void SetBluetoothLEAdvertisingManagerClient(
218 scoped_ptr<BluetoothLEAdvertisingManagerClient> client); 215 scoped_ptr<BluetoothLEAdvertisingManagerClient> client);
219 void SetBluetoothAgentManagerClient( 216 void SetBluetoothAgentManagerClient(
220 scoped_ptr<BluetoothAgentManagerClient> client); 217 scoped_ptr<BluetoothAgentManagerClient> client);
221 void SetBluetoothDeviceClient(scoped_ptr<BluetoothDeviceClient> client); 218 void SetBluetoothDeviceClient(scoped_ptr<BluetoothDeviceClient> client);
222 void SetBluetoothGattCharacteristicClient( 219 void SetBluetoothGattCharacteristicClient(
223 scoped_ptr<BluetoothGattCharacteristicClient> client); 220 scoped_ptr<BluetoothGattCharacteristicClient> client);
224 void SetBluetoothGattDescriptorClient( 221 void SetBluetoothGattDescriptorClient(
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 friend class DBusThreadManager; 266 friend class DBusThreadManager;
270 267
271 DBusThreadManagerSetter(); 268 DBusThreadManagerSetter();
272 269
273 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerSetter); 270 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerSetter);
274 }; 271 };
275 272
276 } // namespace chromeos 273 } // namespace chromeos
277 274
278 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 275 #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