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 15020009: Bluetooth: remove legacy backend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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
« no previous file with comments | « chromeos/dbus/bluetooth_property.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 14
15 namespace base { 15 namespace base {
16 class Thread; 16 class Thread;
17 }; 17 };
18 18
19 namespace dbus { 19 namespace dbus {
20 class Bus; 20 class Bus;
21 class ObjectPath; 21 class ObjectPath;
22 }; 22 };
23 23
24 namespace chromeos { 24 namespace chromeos {
25 25
26 class DBusThreadManagerObserver; 26 class DBusThreadManagerObserver;
27 27
28 // Style Note: Clients are sorted by names. 28 // Style Note: Clients are sorted by names.
29 class BluetoothAdapterClient;
30 class BluetoothDeviceClient;
31 class BluetoothInputClient;
32 class BluetoothManagerClient;
33 class BluetoothNodeClient;
34 class BluetoothOutOfBandClient;
35 class CrasAudioClient; 29 class CrasAudioClient;
36 class CrosDisksClient; 30 class CrosDisksClient;
37 class CryptohomeClient; 31 class CryptohomeClient;
38 class DebugDaemonClient; 32 class DebugDaemonClient;
39 class ExperimentalBluetoothAdapterClient; 33 class ExperimentalBluetoothAdapterClient;
40 class ExperimentalBluetoothAgentManagerClient; 34 class ExperimentalBluetoothAgentManagerClient;
41 class ExperimentalBluetoothDeviceClient; 35 class ExperimentalBluetoothDeviceClient;
42 class ExperimentalBluetoothInputClient; 36 class ExperimentalBluetoothInputClient;
43 class ExperimentalBluetoothProfileManagerClient; 37 class ExperimentalBluetoothProfileManagerClient;
44 class GsmSMSClient; 38 class GsmSMSClient;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // TODO(nona): Support shutdown to enable dynamical ibus-daemon shutdown. 113 // TODO(nona): Support shutdown to enable dynamical ibus-daemon shutdown.
120 virtual void InitIBusBus(const std::string& ibus_address, 114 virtual void InitIBusBus(const std::string& ibus_address,
121 const base::Closure& on_disconnected_callback) = 0; 115 const base::Closure& on_disconnected_callback) = 0;
122 116
123 // Returns various D-Bus bus instances, owned by DBusThreadManager. 117 // Returns various D-Bus bus instances, owned by DBusThreadManager.
124 virtual dbus::Bus* GetSystemBus() = 0; 118 virtual dbus::Bus* GetSystemBus() = 0;
125 virtual dbus::Bus* GetIBusBus() = 0; 119 virtual dbus::Bus* GetIBusBus() = 0;
126 120
127 // All returned objects are owned by DBusThreadManager. Do not cache these 121 // All returned objects are owned by DBusThreadManager. Do not cache these
128 // pointers and use them after DBusThreadManager has been shut down. 122 // pointers and use them after DBusThreadManager has been shut down.
129 virtual BluetoothAdapterClient* GetBluetoothAdapterClient() = 0;
130 virtual BluetoothDeviceClient* GetBluetoothDeviceClient() = 0;
131 virtual BluetoothInputClient* GetBluetoothInputClient() = 0;
132 virtual BluetoothManagerClient* GetBluetoothManagerClient() = 0;
133 virtual BluetoothNodeClient* GetBluetoothNodeClient() = 0;
134 virtual BluetoothOutOfBandClient* GetBluetoothOutOfBandClient() = 0;
135 virtual CrasAudioClient* GetCrasAudioClient() = 0; 123 virtual CrasAudioClient* GetCrasAudioClient() = 0;
136 virtual CrosDisksClient* GetCrosDisksClient() = 0; 124 virtual CrosDisksClient* GetCrosDisksClient() = 0;
137 virtual CryptohomeClient* GetCryptohomeClient() = 0; 125 virtual CryptohomeClient* GetCryptohomeClient() = 0;
138 virtual DebugDaemonClient* GetDebugDaemonClient() = 0; 126 virtual DebugDaemonClient* GetDebugDaemonClient() = 0;
139 virtual ExperimentalBluetoothAdapterClient* 127 virtual ExperimentalBluetoothAdapterClient*
140 GetExperimentalBluetoothAdapterClient() = 0; 128 GetExperimentalBluetoothAdapterClient() = 0;
141 virtual ExperimentalBluetoothAgentManagerClient* 129 virtual ExperimentalBluetoothAgentManagerClient*
142 GetExperimentalBluetoothAgentManagerClient() = 0; 130 GetExperimentalBluetoothAgentManagerClient() = 0;
143 virtual ExperimentalBluetoothDeviceClient* 131 virtual ExperimentalBluetoothDeviceClient*
144 GetExperimentalBluetoothDeviceClient() = 0; 132 GetExperimentalBluetoothDeviceClient() = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 165
178 protected: 166 protected:
179 DBusThreadManager(); 167 DBusThreadManager();
180 168
181 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); 169 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager);
182 }; 170 };
183 171
184 } // namespace chromeos 172 } // namespace chromeos
185 173
186 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 174 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/bluetooth_property.cc ('k') | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698