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

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: 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 {
armansito 2015/05/12 01:09:14 NOTIMPLEMENTED()
jpawlowski1 2015/05/12 08:11:01 Done.
196 return kUnknownPower;
197 }
198
195 bool BluetoothDeviceWin::ExpectingPinCode() const { 199 bool BluetoothDeviceWin::ExpectingPinCode() const {
196 NOTIMPLEMENTED(); 200 NOTIMPLEMENTED();
197 return false; 201 return false;
198 } 202 }
199 203
200 bool BluetoothDeviceWin::ExpectingPasskey() const { 204 bool BluetoothDeviceWin::ExpectingPasskey() const {
201 NOTIMPLEMENTED(); 205 NOTIMPLEMENTED();
202 return false; 206 return false;
203 } 207 }
204 208
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); 283 for (ServiceRecordList::const_iterator iter = service_record_list_.begin();
280 iter != service_record_list_.end(); 284 iter != service_record_list_.end();
281 ++iter) { 285 ++iter) {
282 if ((*iter)->uuid() == uuid) 286 if ((*iter)->uuid() == uuid)
283 return *iter; 287 return *iter;
284 } 288 }
285 return NULL; 289 return NULL;
286 } 290 }
287 291
288 } // namespace device 292 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698