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/base_login_display_host.h" | 5 #include "chrome/browser/chromeos/login/base_login_display_host.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/browser_shutdown.h" | 15 #include "chrome/browser/browser_shutdown.h" |
16 #include "chrome/browser/chromeos/cros/cros_library.h" | 16 #include "chrome/browser/chromeos/cros/cros_library.h" |
17 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | |
18 #include "chrome/browser/chromeos/dbus/session_manager_client.h" | |
19 #include "chrome/browser/chromeos/customization_document.h" | 17 #include "chrome/browser/chromeos/customization_document.h" |
20 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 18 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
21 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 19 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
22 #include "chrome/browser/chromeos/language_preferences.h" | 20 #include "chrome/browser/chromeos/language_preferences.h" |
23 #include "chrome/browser/chromeos/login/existing_user_controller.h" | 21 #include "chrome/browser/chromeos/login/existing_user_controller.h" |
24 #include "chrome/browser/chromeos/login/helper.h" | 22 #include "chrome/browser/chromeos/login/helper.h" |
25 #include "chrome/browser/chromeos/login/language_switch_menu.h" | 23 #include "chrome/browser/chromeos/login/language_switch_menu.h" |
26 #include "chrome/browser/chromeos/login/login_utils.h" | 24 #include "chrome/browser/chromeos/login/login_utils.h" |
27 #include "chrome/browser/chromeos/login/user_manager.h" | 25 #include "chrome/browser/chromeos/login/user_manager.h" |
28 #include "chrome/browser/chromeos/login/webui_login_display_host.h" | 26 #include "chrome/browser/chromeos/login/webui_login_display_host.h" |
29 #include "chrome/browser/chromeos/login/wizard_controller.h" | 27 #include "chrome/browser/chromeos/login/wizard_controller.h" |
30 #include "chrome/browser/chromeos/mobile_config.h" | 28 #include "chrome/browser/chromeos/mobile_config.h" |
31 #include "chrome/browser/chromeos/system/timezone_settings.h" | 29 #include "chrome/browser/chromeos/system/timezone_settings.h" |
32 #include "chrome/browser/policy/auto_enrollment_client.h" | 30 #include "chrome/browser/policy/auto_enrollment_client.h" |
33 #include "chrome/browser/policy/browser_policy_connector.h" | 31 #include "chrome/browser/policy/browser_policy_connector.h" |
34 #include "chrome/browser/prefs/pref_service.h" | 32 #include "chrome/browser/prefs/pref_service.h" |
35 #include "chrome/common/chrome_notification_types.h" | 33 #include "chrome/common/chrome_notification_types.h" |
36 #include "chrome/common/chrome_switches.h" | 34 #include "chrome/common/chrome_switches.h" |
37 #include "chrome/common/pref_names.h" | 35 #include "chrome/common/pref_names.h" |
| 36 #include "chromeos/dbus/dbus_thread_manager.h" |
| 37 #include "chromeos/dbus/session_manager_client.h" |
38 #include "content/public/browser/notification_service.h" | 38 #include "content/public/browser/notification_service.h" |
39 #include "content/public/browser/notification_types.h" | 39 #include "content/public/browser/notification_types.h" |
40 #include "googleurl/src/gurl.h" | 40 #include "googleurl/src/gurl.h" |
41 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" | 41 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" |
42 #include "ui/aura/window.h" | 42 #include "ui/aura/window.h" |
43 #include "ui/base/resource/resource_bundle.h" | 43 #include "ui/base/resource/resource_bundle.h" |
44 #include "ui/gfx/compositor/layer.h" | 44 #include "ui/gfx/compositor/layer.h" |
45 #include "ui/gfx/compositor/layer_animation_element.h" | 45 #include "ui/gfx/compositor/layer_animation_element.h" |
46 #include "ui/gfx/compositor/layer_animation_sequence.h" | 46 #include "ui/gfx/compositor/layer_animation_sequence.h" |
47 #include "ui/gfx/compositor/layer_animator.h" | 47 #include "ui/gfx/compositor/layer_animator.h" |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 // user has changed to during OOBE. | 562 // user has changed to during OOBE. |
563 if (!timezone_name.empty()) { | 563 if (!timezone_name.empty()) { |
564 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( | 564 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( |
565 icu::UnicodeString::fromUTF8(timezone_name)); | 565 icu::UnicodeString::fromUTF8(timezone_name)); |
566 CHECK(timezone) << "Timezone could not be set for " << timezone_name; | 566 CHECK(timezone) << "Timezone could not be set for " << timezone_name; |
567 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone); | 567 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone); |
568 } | 568 } |
569 } | 569 } |
570 | 570 |
571 } // namespace browser | 571 } // namespace browser |
OLD | NEW |