| OLD | NEW |
| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 } | 104 } |
| 105 | 105 |
| 106 uint16 BluetoothDeviceWin::GetProductID() const { | 106 uint16 BluetoothDeviceWin::GetProductID() const { |
| 107 return 0; | 107 return 0; |
| 108 } | 108 } |
| 109 | 109 |
| 110 uint16 BluetoothDeviceWin::GetDeviceID() const { | 110 uint16 BluetoothDeviceWin::GetDeviceID() const { |
| 111 return 0; | 111 return 0; |
| 112 } | 112 } |
| 113 | 113 |
| 114 int BluetoothDeviceWin::GetRSSI() const { |
| 115 NOTIMPLEMENTED(); |
| 116 return kUnknownPower; |
| 117 } |
| 118 |
| 119 int BluetoothDeviceWin::GetCurrentHostTransmitPower() const { |
| 120 NOTIMPLEMENTED(); |
| 121 return kUnknownPower; |
| 122 } |
| 123 |
| 124 int BluetoothDeviceWin::GetMaximumHostTransmitPower() const { |
| 125 NOTIMPLEMENTED(); |
| 126 return kUnknownPower; |
| 127 } |
| 128 |
| 114 bool BluetoothDeviceWin::IsPaired() const { | 129 bool BluetoothDeviceWin::IsPaired() const { |
| 115 return paired_; | 130 return paired_; |
| 116 } | 131 } |
| 117 | 132 |
| 118 bool BluetoothDeviceWin::IsConnected() const { | 133 bool BluetoothDeviceWin::IsConnected() const { |
| 119 return connected_; | 134 return connected_; |
| 120 } | 135 } |
| 121 | 136 |
| 122 bool BluetoothDeviceWin::IsConnectable() const { | 137 bool BluetoothDeviceWin::IsConnectable() const { |
| 123 return false; | 138 return false; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); | 230 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); |
| 216 iter != service_record_list_.end(); | 231 iter != service_record_list_.end(); |
| 217 ++iter) { | 232 ++iter) { |
| 218 if ((*iter)->uuid() == uuid) | 233 if ((*iter)->uuid() == uuid) |
| 219 return *iter; | 234 return *iter; |
| 220 } | 235 } |
| 221 return NULL; | 236 return NULL; |
| 222 } | 237 } |
| 223 | 238 |
| 224 } // namespace device | 239 } // namespace device |
| OLD | NEW |