| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/login/wizard_controller.h" | 5 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 6 | 6 |
| 7 #include <signal.h> | 7 #include <signal.h> |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 #include <sys/types.h> | 9 #include <sys/types.h> |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "chromeos/audio/cras_audio_handler.h" | 64 #include "chromeos/audio/cras_audio_handler.h" |
| 65 #include "chromeos/chromeos_constants.h" | 65 #include "chromeos/chromeos_constants.h" |
| 66 #include "chromeos/chromeos_switches.h" | 66 #include "chromeos/chromeos_switches.h" |
| 67 #include "chromeos/dbus/dbus_thread_manager.h" | 67 #include "chromeos/dbus/dbus_thread_manager.h" |
| 68 #include "chromeos/dbus/session_manager_client.h" | 68 #include "chromeos/dbus/session_manager_client.h" |
| 69 #include "chromeos/network/network_state.h" | 69 #include "chromeos/network/network_state.h" |
| 70 #include "chromeos/network/network_state_handler.h" | 70 #include "chromeos/network/network_state_handler.h" |
| 71 #include "chromeos/network/portal_detector/network_portal_detector.h" | 71 #include "chromeos/network/portal_detector/network_portal_detector.h" |
| 72 #include "chromeos/settings/cros_settings_names.h" | 72 #include "chromeos/settings/cros_settings_names.h" |
| 73 #include "chromeos/settings/timezone_settings.h" | 73 #include "chromeos/settings/timezone_settings.h" |
| 74 #include "components/breakpad/app/breakpad_linux.h" | 74 #include "components/crash/app/breakpad_linux.h" |
| 75 #include "components/user_manager/user_manager.h" | 75 #include "components/user_manager/user_manager.h" |
| 76 #include "content/public/browser/browser_thread.h" | 76 #include "content/public/browser/browser_thread.h" |
| 77 #include "content/public/browser/notification_types.h" | 77 #include "content/public/browser/notification_types.h" |
| 78 #include "ui/base/accelerators/accelerator.h" | 78 #include "ui/base/accelerators/accelerator.h" |
| 79 | 79 |
| 80 using content::BrowserThread; | 80 using content::BrowserThread; |
| 81 | 81 |
| 82 namespace { | 82 namespace { |
| 83 // If reboot didn't happen, ask user to reboot device manually. | 83 // If reboot didn't happen, ask user to reboot device manually. |
| 84 const int kWaitForRebootTimeSec = 3; | 84 const int kWaitForRebootTimeSec = 3; |
| (...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1276 bool WizardController::SetOnTimeZoneResolvedForTesting( | 1276 bool WizardController::SetOnTimeZoneResolvedForTesting( |
| 1277 const base::Closure& callback) { | 1277 const base::Closure& callback) { |
| 1278 if (timezone_resolved_) | 1278 if (timezone_resolved_) |
| 1279 return false; | 1279 return false; |
| 1280 | 1280 |
| 1281 on_timezone_resolved_for_testing_ = callback; | 1281 on_timezone_resolved_for_testing_ = callback; |
| 1282 return true; | 1282 return true; |
| 1283 } | 1283 } |
| 1284 | 1284 |
| 1285 } // namespace chromeos | 1285 } // namespace chromeos |
| OLD | NEW |