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

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

Issue 412433007: Minor clean up in DBusClient, DBusThreadManager, and FakeDBusThreadManager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/dbus_client.h ('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>
9
10 #include "base/callback.h" 8 #include "base/callback.h"
11 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
13 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
14 12
15 namespace base { 13 namespace base {
16 class Thread; 14 class Thread;
17 }; 15 } // namespace base
18 16
19 namespace dbus { 17 namespace dbus {
20 class Bus; 18 class Bus;
21 class ObjectPath; 19 class ObjectPath;
22 }; 20 } // namespace dbus
23 21
24 namespace chromeos { 22 namespace chromeos {
25 23
26 class DBusThreadManagerObserver; 24 class DBusThreadManagerObserver;
27 25
28 // Style Note: Clients are sorted by names. 26 // Style Note: Clients are sorted by names.
29 class BluetoothAdapterClient; 27 class BluetoothAdapterClient;
30 class BluetoothAgentManagerClient; 28 class BluetoothAgentManagerClient;
31 class BluetoothDeviceClient; 29 class BluetoothDeviceClient;
32 class BluetoothGattCharacteristicClient; 30 class BluetoothGattCharacteristicClient;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 174
177 // Initializes |client| with the |system_bus_|. 175 // Initializes |client| with the |system_bus_|.
178 static void InitClient(DBusClient* client); 176 static void InitClient(DBusClient* client);
179 177
180 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); 178 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager);
181 }; 179 };
182 180
183 } // namespace chromeos 181 } // namespace chromeos
184 182
185 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 183 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_client.h ('k') | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698