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

Side by Side Diff: chromeos/dbus/bluetooth_adapter_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 | « no previous file | chromeos/dbus/bluetooth_adapter_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_ADAPTER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_ADAPTER_CLIENT_H_
6 #define CHROMEOS_DBUS_BLUETOOTH_ADAPTER_CLIENT_H_ 6 #define CHROMEOS_DBUS_BLUETOOTH_ADAPTER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // List of object paths of known Bluetooth devices, known devices are 72 // List of object paths of known Bluetooth devices, known devices are
73 // those that have previously been connected or paired or are currently 73 // those that have previously been connected or paired or are currently
74 // connected or paired. Read-only. 74 // connected or paired. Read-only.
75 dbus::Property<std::vector<dbus::ObjectPath> > devices; 75 dbus::Property<std::vector<dbus::ObjectPath> > devices;
76 76
77 // List of 128-bit UUIDs that represent the available local services. 77 // List of 128-bit UUIDs that represent the available local services.
78 // Read-only. 78 // Read-only.
79 dbus::Property<std::vector<std::string> > uuids; 79 dbus::Property<std::vector<std::string> > uuids;
80 80
81 Properties(dbus::ObjectProxy* object_proxy, 81 Properties(dbus::ObjectProxy* object_proxy,
82 PropertyChangedCallback callback); 82 const PropertyChangedCallback& callback);
83 virtual ~Properties(); 83 virtual ~Properties();
84 }; 84 };
85 85
86 // Interface for observing changes from a local bluetooth adapter. 86 // Interface for observing changes from a local bluetooth adapter.
87 class Observer { 87 class Observer {
88 public: 88 public:
89 virtual ~Observer() {} 89 virtual ~Observer() {}
90 90
91 // Called when the adapter with object path |object_path| has a 91 // Called when the adapter with object path |object_path| has a
92 // change in value of the property named |property_name|. 92 // change in value of the property named |property_name|.
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 protected: 256 protected:
257 BluetoothAdapterClient(); 257 BluetoothAdapterClient();
258 258
259 private: 259 private:
260 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterClient); 260 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterClient);
261 }; 261 };
262 262
263 } // namespace chromeos 263 } // namespace chromeos
264 264
265 #endif // CHROMEOS_DBUS_BLUETOOTH_ADAPTER_CLIENT_H_ 265 #endif // CHROMEOS_DBUS_BLUETOOTH_ADAPTER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/bluetooth_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698