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_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: Start connection monitor when connected through chrome.bluetooth API 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 #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
243 void BluetoothDeviceWin::StopConnectionMonitor(
244 const base::Closure& callback,
245 const ErrorCallback& error_callback) {
246 NOTIMPLEMENTED();
247 }
248
237 const BluetoothServiceRecord* BluetoothDeviceWin::GetServiceRecord( 249 const BluetoothServiceRecord* BluetoothDeviceWin::GetServiceRecord(
238 const device::BluetoothUUID& uuid) const { 250 const device::BluetoothUUID& uuid) const {
239 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); 251 for (ServiceRecordList::const_iterator iter = service_record_list_.begin();
240 iter != service_record_list_.end(); 252 iter != service_record_list_.end();
241 ++iter) { 253 ++iter) {
242 if ((*iter)->uuid() == uuid) 254 if ((*iter)->uuid() == uuid)
243 return *iter; 255 return *iter;
244 } 256 }
245 return NULL; 257 return NULL;
246 } 258 }
247 259
248 } // namespace device 260 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698