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 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 if (ShouldAutoStartEnrollment() || ShouldRecoverEnrollment()) { | 1294 if (ShouldAutoStartEnrollment() || ShouldRecoverEnrollment()) { |
1295 StartupUtils::MarkEulaAccepted(); | 1295 StartupUtils::MarkEulaAccepted(); |
1296 auth_token_ = token; | 1296 auth_token_ = token; |
1297 InitiateOOBEUpdate(); | 1297 InitiateOOBEUpdate(); |
1298 } else { | 1298 } else { |
1299 LOG(WARNING) << "Not in device enrollment."; | 1299 LOG(WARNING) << "Not in device enrollment."; |
1300 } | 1300 } |
1301 } | 1301 } |
1302 | 1302 |
1303 } // namespace chromeos | 1303 } // namespace chromeos |
OLD | NEW |