OLD | NEW |
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 Loading... |
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 |
OLD | NEW |