OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <gdk/gdk.h> | 7 #include <gdk/gdk.h> |
8 #include <signal.h> | 8 #include <signal.h> |
9 #include <sys/types.h> | 9 #include <sys/types.h> |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "chrome/browser/chromeos/login/user_image_screen.h" | 41 #include "chrome/browser/chromeos/login/user_image_screen.h" |
42 #include "chrome/browser/chromeos/login/user_manager.h" | 42 #include "chrome/browser/chromeos/login/user_manager.h" |
43 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" | 43 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" |
44 #include "chrome/browser/chromeos/wm_ipc.h" | 44 #include "chrome/browser/chromeos/wm_ipc.h" |
45 #include "chrome/browser/prefs/pref_service.h" | 45 #include "chrome/browser/prefs/pref_service.h" |
46 #include "chrome/browser/profiles/profile_manager.h" | 46 #include "chrome/browser/profiles/profile_manager.h" |
47 #include "chrome/common/chrome_switches.h" | 47 #include "chrome/common/chrome_switches.h" |
48 #include "chrome/common/notification_service.h" | 48 #include "chrome/common/notification_service.h" |
49 #include "chrome/common/notification_type.h" | 49 #include "chrome/common/notification_type.h" |
50 #include "chrome/common/pref_names.h" | 50 #include "chrome/common/pref_names.h" |
51 #include "cros/chromeos_wm_ipc_enums.h" | 51 #include "third_party/cros/chromeos_wm_ipc_enums.h" |
52 #include "unicode/timezone.h" | 52 #include "unicode/timezone.h" |
53 #include "views/accelerator.h" | 53 #include "views/accelerator.h" |
54 #include "views/painter.h" | 54 #include "views/painter.h" |
55 #include "views/view.h" | 55 #include "views/view.h" |
56 #include "views/widget/widget_gtk.h" | 56 #include "views/widget/widget_gtk.h" |
57 | 57 |
58 namespace { | 58 namespace { |
59 | 59 |
60 // A boolean pref of the EULA accepted flag. | 60 // A boolean pref of the EULA accepted flag. |
61 const char kEulaAccepted[] = "EulaAccepted"; | 61 const char kEulaAccepted[] = "EulaAccepted"; |
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1032 // user has changed to during OOBE. | 1032 // user has changed to during OOBE. |
1033 if (!timezone_name.empty()) { | 1033 if (!timezone_name.empty()) { |
1034 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( | 1034 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( |
1035 icu::UnicodeString::fromUTF8(timezone_name)); | 1035 icu::UnicodeString::fromUTF8(timezone_name)); |
1036 chromeos::CrosLibrary::Get()->GetSystemLibrary()->SetTimezone(timezone); | 1036 chromeos::CrosLibrary::Get()->GetSystemLibrary()->SetTimezone(timezone); |
1037 } | 1037 } |
1038 } | 1038 } |
1039 } | 1039 } |
1040 | 1040 |
1041 } // namespace browser | 1041 } // namespace browser |
OLD | NEW |