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

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

Issue 273953002: Hook up RSSI and host transmit power Bluetooth device properties for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang warnings, test flakiness, and bluetooth.connect should succeed even if monitor fails 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_device_win.h ('k') | device/bluetooth/test/mock_bluetooth_device.h » ('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 #include "device/bluetooth/bluetooth_device_win.h" 5 #include "device/bluetooth/bluetooth_device_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 const ErrorCallback& error_callback) { 227 const ErrorCallback& error_callback) {
228 NOTIMPLEMENTED(); 228 NOTIMPLEMENTED();
229 } 229 }
230 230
231 void BluetoothDeviceWin::ClearOutOfBandPairingData( 231 void BluetoothDeviceWin::ClearOutOfBandPairingData(
232 const base::Closure& callback, 232 const base::Closure& callback,
233 const ErrorCallback& error_callback) { 233 const ErrorCallback& error_callback) {
234 NOTIMPLEMENTED(); 234 NOTIMPLEMENTED();
235 } 235 }
236 236
237 void BluetoothDeviceWin::StartConnectionMonitor(
238 const base::Closure& callback,
239 const ErrorCallback& error_callback) {
240 NOTIMPLEMENTED();
241 }
242
237 const BluetoothServiceRecord* BluetoothDeviceWin::GetServiceRecord( 243 const BluetoothServiceRecord* BluetoothDeviceWin::GetServiceRecord(
238 const device::BluetoothUUID& uuid) const { 244 const device::BluetoothUUID& uuid) const {
239 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); 245 for (ServiceRecordList::const_iterator iter = service_record_list_.begin();
240 iter != service_record_list_.end(); 246 iter != service_record_list_.end();
241 ++iter) { 247 ++iter) {
242 if ((*iter)->uuid() == uuid) 248 if ((*iter)->uuid() == uuid)
243 return *iter; 249 return *iter;
244 } 250 }
245 return NULL; 251 return NULL;
246 } 252 }
247 253
248 } // namespace device 254 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_win.h ('k') | device/bluetooth/test/mock_bluetooth_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698