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

Side by Side Diff: content/browser/bluetooth/bluetooth_dispatcher_host.cc

Issue 1564953003: bluetooth: Remove BluetoothDevice.paired (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | content/common/bluetooth/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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // ID Not In Map Note: 5 // ID Not In Map Note:
6 // A service, characteristic, or descriptor ID not in the corresponding 6 // A service, characteristic, or descriptor ID not in the corresponding
7 // BluetoothDispatcherHost map [service_to_device_, characteristic_to_service_, 7 // BluetoothDispatcherHost map [service_to_device_, characteristic_to_service_,
8 // descriptor_to_characteristic_] implies a hostile renderer because a renderer 8 // descriptor_to_characteristic_] implies a hostile renderer because a renderer
9 // obtains the corresponding ID from this class and it will be added to the map 9 // obtains the corresponding ID from this class and it will be added to the map
10 // at that time. 10 // at that time.
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 device->GetName(), // name 1116 device->GetName(), // name
1117 content::BluetoothDevice::ValidatePower( 1117 content::BluetoothDevice::ValidatePower(
1118 device->GetInquiryTxPower()), // tx_power 1118 device->GetInquiryTxPower()), // tx_power
1119 content::BluetoothDevice::ValidatePower( 1119 content::BluetoothDevice::ValidatePower(
1120 device->GetInquiryRSSI()), // rssi 1120 device->GetInquiryRSSI()), // rssi
1121 device->GetBluetoothClass(), // device_class 1121 device->GetBluetoothClass(), // device_class
1122 device->GetVendorIDSource(), // vendor_id_source 1122 device->GetVendorIDSource(), // vendor_id_source
1123 device->GetVendorID(), // vendor_id 1123 device->GetVendorID(), // vendor_id
1124 device->GetProductID(), // product_id 1124 device->GetProductID(), // product_id
1125 device->GetDeviceID(), // product_version 1125 device->GetDeviceID(), // product_version
1126 device->IsPaired(), // paired
1127 content::BluetoothDevice::UUIDsFromBluetoothUUIDs( 1126 content::BluetoothDevice::UUIDsFromBluetoothUUIDs(
1128 device->GetUUIDs())); // uuids 1127 device->GetUUIDs())); // uuids
1129 RecordRequestDeviceOutcome(UMARequestDeviceOutcome::SUCCESS); 1128 RecordRequestDeviceOutcome(UMARequestDeviceOutcome::SUCCESS);
1130 Send(new BluetoothMsg_RequestDeviceSuccess(session->thread_id, 1129 Send(new BluetoothMsg_RequestDeviceSuccess(session->thread_id,
1131 session->request_id, device_ipc)); 1130 session->request_id, device_ipc));
1132 request_device_sessions_.Remove(chooser_id); 1131 request_device_sessions_.Remove(chooser_id);
1133 } 1132 }
1134 1133
1135 void BluetoothDispatcherHost::OnGATTConnectionCreated( 1134 void BluetoothDispatcherHost::OnGATTConnectionCreated(
1136 int thread_id, 1135 int thread_id,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1345 DCHECK_CURRENTLY_ON(BrowserThread::UI);
1347 NOTIMPLEMENTED(); 1346 NOTIMPLEMENTED();
1348 } 1347 }
1349 1348
1350 void BluetoothDispatcherHost::ShowNeedLocationLink() { 1349 void BluetoothDispatcherHost::ShowNeedLocationLink() {
1351 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1350 DCHECK_CURRENTLY_ON(BrowserThread::UI);
1352 NOTIMPLEMENTED(); 1351 NOTIMPLEMENTED();
1353 } 1352 }
1354 1353
1355 } // namespace content 1354 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/common/bluetooth/bluetooth_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698