OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/chromeos/cros/cros_mock.h" | 5 #include "chrome/browser/chromeos/cros/cros_mock.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "chrome/browser/browser.h" | |
11 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" | 11 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" |
13 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" | 12 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" |
14 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" | 13 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" |
15 #include "chrome/browser/chromeos/cros/mock_library_loader.h" | 14 #include "chrome/browser/chromeos/cros/mock_library_loader.h" |
16 #include "chrome/browser/chromeos/cros/mock_network_library.h" | 15 #include "chrome/browser/chromeos/cros/mock_network_library.h" |
17 #include "chrome/browser/chromeos/cros/mock_power_library.h" | 16 #include "chrome/browser/chromeos/cros/mock_power_library.h" |
18 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" | 17 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" |
19 #include "chrome/browser/chromeos/cros/mock_speech_synthesis_library.h" | 18 #include "chrome/browser/chromeos/cros/mock_speech_synthesis_library.h" |
20 #include "chrome/browser/chromeos/cros/mock_system_library.h" | 19 #include "chrome/browser/chromeos/cros/mock_system_library.h" |
21 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" | 20 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" |
22 #include "chrome/browser/chromeos/login/wizard_controller.h" | 21 #include "chrome/browser/chromeos/login/wizard_controller.h" |
23 #include "chrome/browser/chromeos/login/wizard_screen.h" | 22 #include "chrome/browser/chromeos/login/wizard_screen.h" |
| 23 #include "chrome/browser/ui/browser.h" |
24 #include "chrome/test/in_process_browser_test.h" | 24 #include "chrome/test/in_process_browser_test.h" |
25 #include "chrome/test/ui_test_utils.h" | 25 #include "chrome/test/ui_test_utils.h" |
26 #include "testing/gmock/include/gmock/gmock.h" | 26 #include "testing/gmock/include/gmock/gmock.h" |
27 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" |
28 | 28 |
29 namespace chromeos { | 29 namespace chromeos { |
30 | 30 |
31 using ::testing::AnyNumber; | 31 using ::testing::AnyNumber; |
32 using ::testing::AtMost; | 32 using ::testing::AtMost; |
33 using ::testing::InSequence; | 33 using ::testing::InSequence; |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 test_api()->SetScreenLockLibrary(NULL, false); | 450 test_api()->SetScreenLockLibrary(NULL, false); |
451 if (mock_speech_synthesis_library_) | 451 if (mock_speech_synthesis_library_) |
452 test_api()->SetSpeechSynthesisLibrary(NULL, false); | 452 test_api()->SetSpeechSynthesisLibrary(NULL, false); |
453 if (mock_system_library_) | 453 if (mock_system_library_) |
454 test_api()->SetSystemLibrary(NULL, false); | 454 test_api()->SetSystemLibrary(NULL, false); |
455 if (mock_touchpad_library_) | 455 if (mock_touchpad_library_) |
456 test_api()->SetTouchpadLibrary(NULL, false); | 456 test_api()->SetTouchpadLibrary(NULL, false); |
457 } | 457 } |
458 | 458 |
459 } // namespace chromeos | 459 } // namespace chromeos |
OLD | NEW |