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

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

Issue 10546010: Implement support for the OOB Pairing APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactor to create BluetoothOutOfBandClient Created 8 years, 6 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 }; 21 };
22 22
23 namespace chromeos { 23 namespace chromeos {
24 24
25 // Style Note: Clients are sorted by names. 25 // Style Note: Clients are sorted by names.
26 class BluetoothAdapterClient; 26 class BluetoothAdapterClient;
27 class BluetoothDeviceClient; 27 class BluetoothDeviceClient;
28 class BluetoothInputClient; 28 class BluetoothInputClient;
29 class BluetoothManagerClient; 29 class BluetoothManagerClient;
30 class BluetoothNodeClient; 30 class BluetoothNodeClient;
31 class BluetoothOutOfBandClient;
31 class CashewClient; 32 class CashewClient;
32 class CrosDisksClient; 33 class CrosDisksClient;
33 class CryptohomeClient; 34 class CryptohomeClient;
34 class DebugDaemonClient; 35 class DebugDaemonClient;
35 class FlimflamDeviceClient; 36 class FlimflamDeviceClient;
36 class FlimflamIPConfigClient; 37 class FlimflamIPConfigClient;
37 class FlimflamManagerClient; 38 class FlimflamManagerClient;
38 class FlimflamNetworkClient; 39 class FlimflamNetworkClient;
39 class FlimflamProfileClient; 40 class FlimflamProfileClient;
40 class FlimflamServiceClient; 41 class FlimflamServiceClient;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Returns the bluetooth manager client, owned by DBusThreadManager. 118 // Returns the bluetooth manager client, owned by DBusThreadManager.
118 // Do not cache this pointer and use it after DBusThreadManager is shut 119 // Do not cache this pointer and use it after DBusThreadManager is shut
119 // down. 120 // down.
120 virtual BluetoothManagerClient* GetBluetoothManagerClient() = 0; 121 virtual BluetoothManagerClient* GetBluetoothManagerClient() = 0;
121 122
122 // Returns the bluetooth node client, owned by DBusThreadManager. 123 // Returns the bluetooth node client, owned by DBusThreadManager.
123 // Do not cache this pointer and use it after DBusThreadManager is shut 124 // Do not cache this pointer and use it after DBusThreadManager is shut
124 // down. 125 // down.
125 virtual BluetoothNodeClient* GetBluetoothNodeClient() = 0; 126 virtual BluetoothNodeClient* GetBluetoothNodeClient() = 0;
126 127
128 // Returns the bluetooth node client, owned by DBusThreadManager.
129 // Do not cache this pointer and use it after DBusThreadManager is shut
130 // down.
131 virtual BluetoothOutOfBandClient* GetBluetoothOutOfBandClient() = 0;
132
127 // Returns the Cashew client, owned by DBusThreadManager. 133 // Returns the Cashew client, owned by DBusThreadManager.
128 // Do not cache this pointer and use it after DBusThreadManager is shut 134 // Do not cache this pointer and use it after DBusThreadManager is shut
129 // down. 135 // down.
130 virtual CashewClient* GetCashewClient() = 0; 136 virtual CashewClient* GetCashewClient() = 0;
131 137
132 // Returns the cros-disks client, owned by DBusThreadManager. 138 // Returns the cros-disks client, owned by DBusThreadManager.
133 // Do not cache this pointer and use it after DBusThreadManager is shut 139 // Do not cache this pointer and use it after DBusThreadManager is shut
134 // down. 140 // down.
135 virtual CrosDisksClient* GetCrosDisksClient() = 0; 141 virtual CrosDisksClient* GetCrosDisksClient() = 0;
136 142
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 225
220 protected: 226 protected:
221 DBusThreadManager(); 227 DBusThreadManager();
222 228
223 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); 229 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager);
224 }; 230 };
225 231
226 } // namespace chromeos 232 } // namespace chromeos
227 233
228 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 234 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698