OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "base/memory/ptr_util.h" | 5 #include "base/memory/ptr_util.h" |
6 #include "base/memory/ref_counted.h" | 6 #include "base/memory/ref_counted.h" |
| 7 #include "base/message_loop/message_loop.h" |
7 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
8 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" | 9 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" |
9 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" | 10 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" |
10 #include "chrome/browser/chromeos/login/wizard_controller.h" | 11 #include "chrome/browser/chromeos/login/wizard_controller.h" |
11 #include "components/pairing/bluetooth_host_pairing_controller.h" | 12 #include "components/pairing/bluetooth_host_pairing_controller.h" |
12 #include "components/pairing/bluetooth_pairing_constants.h" | 13 #include "components/pairing/bluetooth_pairing_constants.h" |
13 #include "components/pairing/shark_connection_listener.h" | 14 #include "components/pairing/shark_connection_listener.h" |
14 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
15 #include "device/bluetooth/bluetooth_device.h" | 16 #include "device/bluetooth/bluetooth_device.h" |
16 #include "device/bluetooth/bluez/bluetooth_device_bluez.h" | 17 #include "device/bluetooth/bluez/bluetooth_device_bluez.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 // Test that in normal user OOBE login flow for devices that have input devices, | 251 // Test that in normal user OOBE login flow for devices that have input devices, |
251 // the Bluetooth is disabled by default. | 252 // the Bluetooth is disabled by default. |
252 IN_PROC_BROWSER_TEST_F(BluetoothHostPairingWithInputTest, | 253 IN_PROC_BROWSER_TEST_F(BluetoothHostPairingWithInputTest, |
253 BluetoothDisableByDefault) { | 254 BluetoothDisableByDefault) { |
254 OobeScreenWaiter(OobeScreen::SCREEN_OOBE_NETWORK).Wait(); | 255 OobeScreenWaiter(OobeScreen::SCREEN_OOBE_NETWORK).Wait(); |
255 EXPECT_FALSE(controller()); | 256 EXPECT_FALSE(controller()); |
256 EXPECT_FALSE(bluetooth_adapter()); | 257 EXPECT_FALSE(bluetooth_adapter()); |
257 } | 258 } |
258 | 259 |
259 } // namespace chromeos | 260 } // namespace chromeos |
OLD | NEW |