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: device/bluetooth/bluetooth_adapter_chromeos.h

Issue 293063015: Bluetooth: remove Out of Band Pairing APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « device/bluetooth/bluetooth_adapter.h ('k') | device/bluetooth/bluetooth_adapter_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ADAPTER_CHROMEOS_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_CHROMEOS_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_CHROMEOS_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_CHROMEOS_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void SetPowered( 55 virtual void SetPowered(
56 bool powered, 56 bool powered,
57 const base::Closure& callback, 57 const base::Closure& callback,
58 const ErrorCallback& error_callback) OVERRIDE; 58 const ErrorCallback& error_callback) OVERRIDE;
59 virtual bool IsDiscoverable() const OVERRIDE; 59 virtual bool IsDiscoverable() const OVERRIDE;
60 virtual void SetDiscoverable( 60 virtual void SetDiscoverable(
61 bool discoverable, 61 bool discoverable,
62 const base::Closure& callback, 62 const base::Closure& callback,
63 const ErrorCallback& error_callback) OVERRIDE; 63 const ErrorCallback& error_callback) OVERRIDE;
64 virtual bool IsDiscovering() const OVERRIDE; 64 virtual bool IsDiscovering() const OVERRIDE;
65 virtual void ReadLocalOutOfBandPairingData(
66 const device::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback&
67 callback,
68 const ErrorCallback& error_callback) OVERRIDE;
69 virtual void CreateRfcommService( 65 virtual void CreateRfcommService(
70 const device::BluetoothUUID& uuid, 66 const device::BluetoothUUID& uuid,
71 int channel, 67 int channel,
72 bool insecure, 68 bool insecure,
73 const CreateServiceCallback& callback, 69 const CreateServiceCallback& callback,
74 const CreateServiceErrorCallback& error_callback) OVERRIDE; 70 const CreateServiceErrorCallback& error_callback) OVERRIDE;
75 virtual void CreateL2capService( 71 virtual void CreateL2capService(
76 const device::BluetoothUUID& uuid, 72 const device::BluetoothUUID& uuid,
77 int psm, 73 int psm,
78 const CreateServiceCallback& callback, 74 const CreateServiceCallback& callback,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // Note: This should remain the last member so it'll be destroyed and 249 // Note: This should remain the last member so it'll be destroyed and
254 // invalidate its weak pointers before any other members are destroyed. 250 // invalidate its weak pointers before any other members are destroyed.
255 base::WeakPtrFactory<BluetoothAdapterChromeOS> weak_ptr_factory_; 251 base::WeakPtrFactory<BluetoothAdapterChromeOS> weak_ptr_factory_;
256 252
257 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterChromeOS); 253 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterChromeOS);
258 }; 254 };
259 255
260 } // namespace chromeos 256 } // namespace chromeos
261 257
262 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_CHROMEOS_H_ 258 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter.h ('k') | device/bluetooth/bluetooth_adapter_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698