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

Side by Side Diff: content/public/browser/bluetooth_chooser.h

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 #ifndef CONTENT_PUBLIC_BROWSER_BLUETOOTH_CHOOSER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BLUETOOTH_CHOOSER_H_
6 #define CONTENT_PUBLIC_BROWSER_BLUETOOTH_CHOOSER_H_ 6 #define CONTENT_PUBLIC_BROWSER_BLUETOOTH_CHOOSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // 76 //
77 // The range of |signal_strength_level| is -1 to 4 inclusively. 77 // The range of |signal_strength_level| is -1 to 4 inclusively.
78 // -1 means that the device doesn't have RSSI which happens when the device 78 // -1 means that the device doesn't have RSSI which happens when the device
79 // is already connected. 79 // is already connected.
80 virtual void AddOrUpdateDevice(const std::string& device_id, 80 virtual void AddOrUpdateDevice(const std::string& device_id,
81 bool should_update_name, 81 bool should_update_name,
82 const base::string16& device_name, 82 const base::string16& device_name,
83 bool is_gatt_connected, 83 bool is_gatt_connected,
84 bool is_paired, 84 bool is_paired,
85 int signal_strength_level) {} 85 int signal_strength_level) {}
86
87 // Tells the chooser that a device is no longer available. The chooser should
88 // not call DeviceSelected() for a device that's been removed.
89 virtual void RemoveDevice(const std::string& device_id) {}
90 }; 86 };
91 87
92 } // namespace content 88 } // namespace content
93 89
94 #endif // CONTENT_PUBLIC_BROWSER_BLUETOOTH_CHOOSER_H_ 90 #endif // CONTENT_PUBLIC_BROWSER_BLUETOOTH_CHOOSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698