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

Side by Side Diff: device/bluetooth/bluetooth_adapter_win.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
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_ADAPTER_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void SetPowered( 48 virtual void SetPowered(
49 bool discoverable, 49 bool discoverable,
50 const base::Closure& callback, 50 const base::Closure& callback,
51 const ErrorCallback& error_callback) OVERRIDE; 51 const ErrorCallback& error_callback) OVERRIDE;
52 virtual bool IsDiscoverable() const OVERRIDE; 52 virtual bool IsDiscoverable() const OVERRIDE;
53 virtual void SetDiscoverable( 53 virtual void SetDiscoverable(
54 bool discoverable, 54 bool discoverable,
55 const base::Closure& callback, 55 const base::Closure& callback,
56 const ErrorCallback& error_callback) OVERRIDE; 56 const ErrorCallback& error_callback) OVERRIDE;
57 virtual bool IsDiscovering() const OVERRIDE; 57 virtual bool IsDiscovering() const OVERRIDE;
58 virtual void ReadLocalOutOfBandPairingData(
59 const BluetoothOutOfBandPairingDataCallback& callback,
60 const ErrorCallback& error_callback) OVERRIDE;
61 virtual void CreateRfcommService( 58 virtual void CreateRfcommService(
62 const BluetoothUUID& uuid, 59 const BluetoothUUID& uuid,
63 int channel, 60 int channel,
64 bool insecure, 61 bool insecure,
65 const CreateServiceCallback& callback, 62 const CreateServiceCallback& callback,
66 const CreateServiceErrorCallback& error_callback) OVERRIDE; 63 const CreateServiceErrorCallback& error_callback) OVERRIDE;
67 virtual void CreateL2capService( 64 virtual void CreateL2capService(
68 const BluetoothUUID& uuid, 65 const BluetoothUUID& uuid,
69 int psm, 66 int psm,
70 const CreateServiceCallback& callback, 67 const CreateServiceCallback& callback,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // NOTE: This should remain the last member so it'll be destroyed and 146 // NOTE: This should remain the last member so it'll be destroyed and
150 // invalidate its weak pointers before any other members are destroyed. 147 // invalidate its weak pointers before any other members are destroyed.
151 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; 148 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_;
152 149
153 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin); 150 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin);
154 }; 151 };
155 152
156 } // namespace device 153 } // namespace device
157 154
158 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ 155 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_unittest.cc ('k') | device/bluetooth/bluetooth_adapter_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698