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

Side by Side Diff: content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.cc

Issue 2245603003: Add signal strength indicator icon to WebBluetooth chooser on non-Mac desktops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address more comments Created 4 years, 4 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 "content/shell/browser/layout_test/layout_test_first_device_bluetooth_c hooser.h" 5 #include "content/shell/browser/layout_test/layout_test_first_device_bluetooth_c hooser.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 break; 44 break;
45 } 45 }
46 } 46 }
47 47
48 void LayoutTestFirstDeviceBluetoothChooser::AddOrUpdateDevice( 48 void LayoutTestFirstDeviceBluetoothChooser::AddOrUpdateDevice(
49 const std::string& device_id, 49 const std::string& device_id,
50 bool should_update_name, 50 bool should_update_name,
51 const base::string16& deviceName, 51 const base::string16& deviceName,
52 bool is_gatt_connected, 52 bool is_gatt_connected,
53 bool is_paired, 53 bool is_paired,
54 const int8_t* rssi) { 54 int signal_strength_level) {
55 event_handler_.Run(Event::SELECTED, device_id); 55 event_handler_.Run(Event::SELECTED, device_id);
56 } 56 }
57 57
58 } // namespace content 58 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698