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

Side by Side Diff: chromeos/dbus/bluetooth_device_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_adapter_client.cc ('k') | chromeos/dbus/bluetooth_device_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_DEVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Object path of the adapter the device belongs to. Read-only. 85 // Object path of the adapter the device belongs to. Read-only.
86 dbus::Property<dbus::ObjectPath> adapter; 86 dbus::Property<dbus::ObjectPath> adapter;
87 87
88 // Indicates whether the device is likely to only support pre-2.1 88 // Indicates whether the device is likely to only support pre-2.1
89 // PIN Code pairing rather than 2.1 Secure Simple Pairing, this can 89 // PIN Code pairing rather than 2.1 Secure Simple Pairing, this can
90 // give false positives. Read-only. 90 // give false positives. Read-only.
91 dbus::Property<bool> legacy_pairing; 91 dbus::Property<bool> legacy_pairing;
92 92
93 Properties(dbus::ObjectProxy* object_proxy, 93 Properties(dbus::ObjectProxy* object_proxy,
94 PropertyChangedCallback callback); 94 const PropertyChangedCallback& callback);
95 virtual ~Properties(); 95 virtual ~Properties();
96 }; 96 };
97 97
98 // Interface for observing changes from a remote bluetooth device. 98 // Interface for observing changes from a remote bluetooth device.
99 class Observer { 99 class Observer {
100 public: 100 public:
101 virtual ~Observer() {} 101 virtual ~Observer() {}
102 102
103 // Called when the device with object path |object_path| has a 103 // Called when the device with object path |object_path| has a
104 // change in value of the property named |property_name|. 104 // change in value of the property named |property_name|.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 protected: 202 protected:
203 BluetoothDeviceClient(); 203 BluetoothDeviceClient();
204 204
205 private: 205 private:
206 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceClient); 206 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceClient);
207 }; 207 };
208 208
209 } // namespace chromeos 209 } // namespace chromeos
210 210
211 #endif // CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ 211 #endif // CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/bluetooth_adapter_client.cc ('k') | chromeos/dbus/bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698