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

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

Issue 1133173002: Expose TxPower for bluetooth devices during discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added unittests Created 5 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
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/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 185 }
186 186
187 BluetoothDevice::UUIDList BluetoothDeviceWin::GetUUIDs() const { 187 BluetoothDevice::UUIDList BluetoothDeviceWin::GetUUIDs() const {
188 return uuids_; 188 return uuids_;
189 } 189 }
190 190
191 int16 BluetoothDeviceWin::GetInquiryRSSI() const { 191 int16 BluetoothDeviceWin::GetInquiryRSSI() const {
192 return kUnknownPower; 192 return kUnknownPower;
193 } 193 }
194 194
195 int16 BluetoothDeviceWin::GetInquiryTxPower() const {
196 NOTIMPLEMENTED();
197 return kUnknownPower;
198 }
199
195 bool BluetoothDeviceWin::ExpectingPinCode() const { 200 bool BluetoothDeviceWin::ExpectingPinCode() const {
196 NOTIMPLEMENTED(); 201 NOTIMPLEMENTED();
197 return false; 202 return false;
198 } 203 }
199 204
200 bool BluetoothDeviceWin::ExpectingPasskey() const { 205 bool BluetoothDeviceWin::ExpectingPasskey() const {
201 NOTIMPLEMENTED(); 206 NOTIMPLEMENTED();
202 return false; 207 return false;
203 } 208 }
204 209
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); 284 for (ServiceRecordList::const_iterator iter = service_record_list_.begin();
280 iter != service_record_list_.end(); 285 iter != service_record_list_.end();
281 ++iter) { 286 ++iter) {
282 if ((*iter)->uuid() == uuid) 287 if ((*iter)->uuid() == uuid)
283 return *iter; 288 return *iter;
284 } 289 }
285 return NULL; 290 return NULL;
286 } 291 }
287 292
288 } // namespace device 293 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_win.h ('k') | device/bluetooth/bluetooth_low_energy_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698