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

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

Issue 652403002: [Clean up] Expose ConnectToServiceInsecurely as a BluetoothDevice API on all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase: Restore deps rather than public_deps Created 6 years, 2 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 | « device/bluetooth/bluetooth_device_mac.mm ('k') | device/bluetooth/bluetooth_device_win.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_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual void RejectPairing() override; 57 virtual void RejectPairing() override;
58 virtual void CancelPairing() override; 58 virtual void CancelPairing() override;
59 virtual void Disconnect( 59 virtual void Disconnect(
60 const base::Closure& callback, 60 const base::Closure& callback,
61 const ErrorCallback& error_callback) override; 61 const ErrorCallback& error_callback) override;
62 virtual void Forget(const ErrorCallback& error_callback) override; 62 virtual void Forget(const ErrorCallback& error_callback) override;
63 virtual void ConnectToService( 63 virtual void ConnectToService(
64 const BluetoothUUID& uuid, 64 const BluetoothUUID& uuid,
65 const ConnectToServiceCallback& callback, 65 const ConnectToServiceCallback& callback,
66 const ConnectToServiceErrorCallback& error_callback) override; 66 const ConnectToServiceErrorCallback& error_callback) override;
67 virtual void ConnectToServiceInsecurely(
68 const BluetoothUUID& uuid,
69 const ConnectToServiceCallback& callback,
70 const ConnectToServiceErrorCallback& error_callback) override;
67 virtual void CreateGattConnection( 71 virtual void CreateGattConnection(
68 const GattConnectionCallback& callback, 72 const GattConnectionCallback& callback,
69 const ConnectErrorCallback& error_callback) override; 73 const ConnectErrorCallback& error_callback) override;
70 virtual void StartConnectionMonitor( 74 virtual void StartConnectionMonitor(
71 const base::Closure& callback, 75 const base::Closure& callback,
72 const ErrorCallback& error_callback) override; 76 const ErrorCallback& error_callback) override;
73 77
74 // Used by BluetoothProfileWin to retrieve the service record for the given 78 // Used by BluetoothProfileWin to retrieve the service record for the given
75 // |uuid|. 79 // |uuid|.
76 const BluetoothServiceRecordWin* GetServiceRecord( 80 const BluetoothServiceRecordWin* GetServiceRecord(
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // The service records retrieved from SDP. 132 // The service records retrieved from SDP.
129 typedef ScopedVector<BluetoothServiceRecordWin> ServiceRecordList; 133 typedef ScopedVector<BluetoothServiceRecordWin> ServiceRecordList;
130 ServiceRecordList service_record_list_; 134 ServiceRecordList service_record_list_;
131 135
132 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); 136 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin);
133 }; 137 };
134 138
135 } // namespace device 139 } // namespace device
136 140
137 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ 141 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.mm ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698