| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/macros.h" |
| 6 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 7 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 9 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" | 10 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" |
| 10 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" | 11 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" |
| 11 #include "chrome/browser/chromeos/login/ui/oobe_display.h" | 12 #include "chrome/browser/chromeos/login/ui/oobe_display.h" |
| 12 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 13 #include "device/bluetooth/bluetooth_adapter_factory.h" | 14 #include "device/bluetooth/bluetooth_adapter_factory.h" |
| 14 #include "device/bluetooth/test/mock_bluetooth_adapter.h" | 15 #include "device/bluetooth/test/mock_bluetooth_adapter.h" |
| 15 #include "device/hid/fake_input_service_linux.h" | 16 #include "device/hid/fake_input_service_linux.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 115 |
| 115 IN_PROC_BROWSER_TEST_F(HidDetectionTest, NoDevicesConnected) { | 116 IN_PROC_BROWSER_TEST_F(HidDetectionTest, NoDevicesConnected) { |
| 116 OobeScreenWaiter(OobeDisplay::SCREEN_OOBE_HID_DETECTION).Wait(); | 117 OobeScreenWaiter(OobeDisplay::SCREEN_OOBE_HID_DETECTION).Wait(); |
| 117 } | 118 } |
| 118 | 119 |
| 119 IN_PROC_BROWSER_TEST_F(HidDetectionSkipTest, BothDevicesPreConnected) { | 120 IN_PROC_BROWSER_TEST_F(HidDetectionSkipTest, BothDevicesPreConnected) { |
| 120 OobeScreenWaiter(OobeDisplay::SCREEN_OOBE_NETWORK).Wait(); | 121 OobeScreenWaiter(OobeDisplay::SCREEN_OOBE_NETWORK).Wait(); |
| 121 } | 122 } |
| 122 | 123 |
| 123 } // namespace chromeos | 124 } // namespace chromeos |
| OLD | NEW |