| OLD | NEW | 
|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/system/automatic_reboot_manager.h" | 5 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" | 
| 6 | 6 | 
| 7 #include <string> | 7 #include <string> | 
| 8 #include <utility> | 8 #include <utility> | 
| 9 | 9 | 
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" | 
| 11 #include "ash/test/test_shell_delegate.h" | 11 #include "ash/test/test_shell_delegate.h" | 
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" | 
| 13 #include "base/file_util.h" |  | 
| 14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" | 
|  | 14 #include "base/files/file_util.h" | 
| 15 #include "base/files/scoped_temp_dir.h" | 15 #include "base/files/scoped_temp_dir.h" | 
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" | 
| 17 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" | 
| 18 #include "base/path_service.h" | 18 #include "base/path_service.h" | 
| 19 #include "base/prefs/pref_registry_simple.h" | 19 #include "base/prefs/pref_registry_simple.h" | 
| 20 #include "base/prefs/testing_pref_service.h" | 20 #include "base/prefs/testing_pref_service.h" | 
| 21 #include "base/run_loop.h" | 21 #include "base/run_loop.h" | 
| 22 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" | 
| 23 #include "base/strings/string_number_conversions.h" | 23 #include "base/strings/string_number_conversions.h" | 
| 24 #include "base/test/simple_test_tick_clock.h" | 24 #include "base/test/simple_test_tick_clock.h" | 
| (...skipping 2028 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2053 INSTANTIATE_TEST_CASE_P( | 2053 INSTANTIATE_TEST_CASE_P( | 
| 2054     AutomaticRebootManagerTestInstance, | 2054     AutomaticRebootManagerTestInstance, | 
| 2055     AutomaticRebootManagerTest, | 2055     AutomaticRebootManagerTest, | 
| 2056     ::testing::Values( | 2056     ::testing::Values( | 
| 2057         AUTOMATIC_REBOOT_MANAGER_TEST_SCENARIO_LOGIN_SCREEN, | 2057         AUTOMATIC_REBOOT_MANAGER_TEST_SCENARIO_LOGIN_SCREEN, | 
| 2058         AUTOMATIC_REBOOT_MANAGER_TEST_SCENARIO_KIOSK_APP_SESSION, | 2058         AUTOMATIC_REBOOT_MANAGER_TEST_SCENARIO_KIOSK_APP_SESSION, | 
| 2059         AUTOMATIC_REBOOT_MANAGER_TEST_SCENARIO_NON_KIOSK_APP_SESSION)); | 2059         AUTOMATIC_REBOOT_MANAGER_TEST_SCENARIO_NON_KIOSK_APP_SESSION)); | 
| 2060 | 2060 | 
| 2061 }  // namespace system | 2061 }  // namespace system | 
| 2062 }  // namespace chromeos | 2062 }  // namespace chromeos | 
| OLD | NEW | 
|---|