| 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
| 8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/chromeos/login/login_display_host_impl.h" | |
| 10 #include "chrome/browser/chromeos/login/login_manager_test.h" | 9 #include "chrome/browser/chromeos/login/login_manager_test.h" |
| 11 #include "chrome/browser/chromeos/login/oobe_display.h" | |
| 12 #include "chrome/browser/chromeos/login/startup_utils.h" | 10 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 13 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" | 11 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" |
| 14 #include "chrome/browser/chromeos/login/webui_login_view.h" | 12 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
| 13 #include "chrome/browser/chromeos/login/ui/oobe_display.h" |
| 14 #include "chrome/browser/chromeos/login/ui/webui_login_view.h" |
| 15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
| 16 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
| 17 #include "chromeos/chromeos_switches.h" | 17 #include "chromeos/chromeos_switches.h" |
| 18 #include "chromeos/dbus/dbus_thread_manager.h" | 18 #include "chromeos/dbus/dbus_thread_manager.h" |
| 19 #include "chromeos/dbus/fake_dbus_thread_manager.h" | 19 #include "chromeos/dbus/fake_dbus_thread_manager.h" |
| 20 #include "chromeos/dbus/fake_power_manager_client.h" | 20 #include "chromeos/dbus/fake_power_manager_client.h" |
| 21 #include "chromeos/dbus/fake_session_manager_client.h" | 21 #include "chromeos/dbus/fake_session_manager_client.h" |
| 22 #include "chromeos/dbus/fake_update_engine_client.h" | 22 #include "chromeos/dbus/fake_update_engine_client.h" |
| 23 #include "content/public/test/browser_test_utils.h" | 23 #include "content/public/test/browser_test_utils.h" |
| 24 | 24 |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 ready_for_reboot_status.status = | 260 ready_for_reboot_status.status = |
| 261 UpdateEngineClient::UPDATE_STATUS_UPDATED_NEED_REBOOT; | 261 UpdateEngineClient::UPDATE_STATUS_UPDATED_NEED_REBOOT; |
| 262 update_engine_client_->NotifyObserversThatStatusChanged( | 262 update_engine_client_->NotifyObserversThatStatusChanged( |
| 263 ready_for_reboot_status); | 263 ready_for_reboot_status); |
| 264 EXPECT_EQ(1, power_manager_client_->num_request_restart_calls()); | 264 EXPECT_EQ(1, power_manager_client_->num_request_restart_calls()); |
| 265 } | 265 } |
| 266 } | 266 } |
| 267 | 267 |
| 268 | 268 |
| 269 } // namespace chromeos | 269 } // namespace chromeos |
| OLD | NEW |