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

Side by Side Diff: device/bluetooth/bluetooth_device_chromeos.h

Issue 12917023: Bluetooth: Disable "IsConnectable" property for ChromeOS implementation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_device_chromeos.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 DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Called by BluetoothAdapterClient when a call to GetServiceRecords() 117 // Called by BluetoothAdapterClient when a call to GetServiceRecords()
118 // completes. |callback| and |error_callback| are the callbacks provided to 118 // completes. |callback| and |error_callback| are the callbacks provided to
119 // GetServiceRecords. 119 // GetServiceRecords.
120 void CollectServiceRecordsCallback( 120 void CollectServiceRecordsCallback(
121 const ServiceRecordsCallback& callback, 121 const ServiceRecordsCallback& callback,
122 const ErrorCallback& error_callback, 122 const ErrorCallback& error_callback,
123 const dbus::ObjectPath& device_path, 123 const dbus::ObjectPath& device_path,
124 const BluetoothDeviceClient::ServiceMap& service_map, 124 const BluetoothDeviceClient::ServiceMap& service_map,
125 bool success); 125 bool success);
126 126
127 // Called by CollectServiceRecordsCallback() every time |service_records_| is
128 // updated. |OnServiceRecordsChanged| updates the derived properties that
129 // depend on |service_records_|.
130 void OnServiceRecordsChanged(void);
131
132 // Called by BluetoothProperty when the call to Set() for the Trusted 127 // Called by BluetoothProperty when the call to Set() for the Trusted
133 // property completes. |success| indicates whether or not the request 128 // property completes. |success| indicates whether or not the request
134 // succeeded. 129 // succeeded.
135 void OnSetTrusted(bool success); 130 void OnSetTrusted(bool success);
136 131
137 // Called by BluetoothAdapterClient when a call to GetServiceRecords() 132 // Called by BluetoothAdapterClient when a call to GetServiceRecords()
138 // fails. |callback| and |error_callback| are the callbacks provided to 133 // fails. |callback| and |error_callback| are the callbacks provided to
139 // GetServiceRecords(). 134 // GetServiceRecords().
140 void OnGetServiceRecordsError(const ServiceRecordsCallback& callback, 135 void OnGetServiceRecordsError(const ServiceRecordsCallback& callback,
141 const ErrorCallback& error_callback); 136 const ErrorCallback& error_callback);
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // Note: This should remain the last member so it'll be destroyed and 406 // Note: This should remain the last member so it'll be destroyed and
412 // invalidate its weak pointers before any other members are destroyed. 407 // invalidate its weak pointers before any other members are destroyed.
413 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; 408 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_;
414 409
415 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); 410 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS);
416 }; 411 };
417 412
418 } // namespace chromeos 413 } // namespace chromeos
419 414
420 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_ 415 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698