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

Side by Side Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc

Issue 2753613002: Remove content::BluetoothChooser::RemoveDevice() function (Closed)
Patch Set: remove content::BluetoothChooser::RemoveDevice() function Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h" 5 #include "chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h" 8 #include "chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h"
9 9
10 BluetoothChooserDesktop::BluetoothChooserDesktop( 10 BluetoothChooserDesktop::BluetoothChooserDesktop(
(...skipping 21 matching lines...) Expand all
32 const std::string& device_id, 32 const std::string& device_id,
33 bool should_update_name, 33 bool should_update_name,
34 const base::string16& device_name, 34 const base::string16& device_name,
35 bool is_gatt_connected, 35 bool is_gatt_connected,
36 bool is_paired, 36 bool is_paired,
37 int signal_strength_level) { 37 int signal_strength_level) {
38 bluetooth_chooser_controller_->AddOrUpdateDevice( 38 bluetooth_chooser_controller_->AddOrUpdateDevice(
39 device_id, should_update_name, device_name, is_gatt_connected, is_paired, 39 device_id, should_update_name, device_name, is_gatt_connected, is_paired,
40 signal_strength_level); 40 signal_strength_level);
41 } 41 }
42
43 void BluetoothChooserDesktop::RemoveDevice(const std::string& device_id) {
44 bluetooth_chooser_controller_->RemoveDevice(device_id);
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698