| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 #include "chromeos/dbus/session_manager_client.h" | 69 #include "chromeos/dbus/session_manager_client.h" |
| 70 #include "chromeos/network/network_state.h" | 70 #include "chromeos/network/network_state.h" |
| 71 #include "chromeos/network/network_state_handler.h" | 71 #include "chromeos/network/network_state_handler.h" |
| 72 #include "chromeos/network/portal_detector/network_portal_detector.h" | 72 #include "chromeos/network/portal_detector/network_portal_detector.h" |
| 73 #include "chromeos/settings/cros_settings_names.h" | 73 #include "chromeos/settings/cros_settings_names.h" |
| 74 #include "chromeos/settings/timezone_settings.h" | 74 #include "chromeos/settings/timezone_settings.h" |
| 75 #include "components/breakpad/app/breakpad_linux.h" | 75 #include "components/breakpad/app/breakpad_linux.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 #include "ui/base/l10n/l10n_util.h" | |
| 80 | 79 |
| 81 using content::BrowserThread; | 80 using content::BrowserThread; |
| 82 | 81 |
| 83 namespace { | 82 namespace { |
| 84 // If reboot didn't happen, ask user to reboot device manually. | 83 // If reboot didn't happen, ask user to reboot device manually. |
| 85 const int kWaitForRebootTimeSec = 3; | 84 const int kWaitForRebootTimeSec = 3; |
| 86 | 85 |
| 87 // Interval in ms which is used for smooth screen showing. | 86 // Interval in ms which is used for smooth screen showing. |
| 88 static int kShowDelayMs = 400; | 87 static int kShowDelayMs = 400; |
| 89 | 88 |
| (...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 bool WizardController::SetOnTimeZoneResolvedForTesting( | 1288 bool WizardController::SetOnTimeZoneResolvedForTesting( |
| 1290 const base::Closure& callback) { | 1289 const base::Closure& callback) { |
| 1291 if (timezone_resolved_) | 1290 if (timezone_resolved_) |
| 1292 return false; | 1291 return false; |
| 1293 | 1292 |
| 1294 on_timezone_resolved_for_testing_ = callback; | 1293 on_timezone_resolved_for_testing_ = callback; |
| 1295 return true; | 1294 return true; |
| 1296 } | 1295 } |
| 1297 | 1296 |
| 1298 } // namespace chromeos | 1297 } // namespace chromeos |
| OLD | NEW |