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

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

Issue 10823301: bluetooth: Create stub manager, adapter and device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 4 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_input_client.cc ('k') | chromeos/dbus/bluetooth_manager_client.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_BLUETOOTH_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_BLUETOOTH_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_BLUETOOTH_MANAGER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 // BluetoothManagerClient is used to communicate with the bluetooth 24 // BluetoothManagerClient is used to communicate with the bluetooth
25 // daemon's Manager interface. 25 // daemon's Manager interface.
26 class CHROMEOS_EXPORT BluetoothManagerClient { 26 class CHROMEOS_EXPORT BluetoothManagerClient {
27 public: 27 public:
28 // Structure of properties associated with the bluetooth manager. 28 // Structure of properties associated with the bluetooth manager.
29 struct Properties : public BluetoothPropertySet { 29 struct Properties : public BluetoothPropertySet {
30 // List of object paths of local Bluetooth adapters. Read-only. 30 // List of object paths of local Bluetooth adapters. Read-only.
31 dbus::Property<std::vector<dbus::ObjectPath> > adapters; 31 dbus::Property<std::vector<dbus::ObjectPath> > adapters;
32 32
33 Properties(dbus::ObjectProxy* object_proxy, 33 Properties(dbus::ObjectProxy* object_proxy,
34 PropertyChangedCallback callback); 34 const PropertyChangedCallback& callback);
35 virtual ~Properties(); 35 virtual ~Properties();
36 }; 36 };
37 37
38 // Interface for observing changes from the bluetooth manager. 38 // Interface for observing changes from the bluetooth manager.
39 class Observer { 39 class Observer {
40 public: 40 public:
41 virtual ~Observer() {} 41 virtual ~Observer() {}
42 42
43 // Called when the manager has a change in value of the property 43 // Called when the manager has a change in value of the property
44 // named |property_name|. 44 // named |property_name|.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 protected: 91 protected:
92 BluetoothManagerClient(); 92 BluetoothManagerClient();
93 93
94 private: 94 private:
95 DISALLOW_COPY_AND_ASSIGN(BluetoothManagerClient); 95 DISALLOW_COPY_AND_ASSIGN(BluetoothManagerClient);
96 }; 96 };
97 97
98 } // namespace chromeos 98 } // namespace chromeos
99 99
100 #endif // CHROMEOS_DBUS_BLUETOOTH_MANAGER_CLIENT_H_ 100 #endif // CHROMEOS_DBUS_BLUETOOTH_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/bluetooth_input_client.cc ('k') | chromeos/dbus/bluetooth_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698