Chromium Code Reviews| Index: content/browser/bluetooth/bluetooth_dispatcher_host.cc |
| diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.cc b/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
| index af5c8f4360970ab1e3a60e92ac0804400da473c3..778c5c3b94fc076b6585566c82182a6c77f46c19 100644 |
| --- a/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
| +++ b/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
| @@ -43,7 +43,7 @@ namespace { |
| // chooser from tests, and the right callback for discovered services we should |
| // delete these constants. |
| // https://crbug.com/436280 and https://crbug.com/484504 |
| -const int kDelayTime = 5; // 5 seconds for scanning and discovering |
| +const int kDelayTime = 20; // 20 seconds for scanning and discovering |
|
scheib
2015/08/29 20:15:18
This constant also affects the delay for GetPrimar
Finnur
2015/08/31 15:25:22
OK, reverted and I'll leave this up to you guys wi
|
| const int kTestingDelayTime = 0; // No need to wait during tests |
| // Defined at |
| @@ -708,6 +708,10 @@ void BluetoothDispatcherHost::OnBluetoothChooserEvent( |
| BluetoothChooser::Event event, |
| const std::string& device_id) { |
| switch (event) { |
| + case BluetoothChooser::Event::RESTART: |
| + // TODO(jyasskin): Implement restarting. |
| + NOTIMPLEMENTED(); |
| + break; |
| case BluetoothChooser::Event::CANCELLED: |
| case BluetoothChooser::Event::SELECTED: |
| RequestDeviceSession* session = |