OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/login_display_host_impl.h" | 5 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/common/system/tray/system_tray.h" | |
11 #include "ash/common/wallpaper/wallpaper_controller.h" | 10 #include "ash/common/wallpaper/wallpaper_controller.h" |
12 #include "ash/common/wallpaper/wallpaper_delegate.h" | 11 #include "ash/common/wallpaper/wallpaper_delegate.h" |
13 #include "ash/common/wm_shell.h" | 12 #include "ash/common/wm_shell.h" |
14 #include "ash/public/cpp/shell_window_ids.h" | 13 #include "ash/public/cpp/shell_window_ids.h" |
15 #include "ash/shell.h" | 14 #include "ash/shell.h" |
| 15 #include "ash/system/tray/system_tray.h" |
16 #include "base/bind.h" | 16 #include "base/bind.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/location.h" | 18 #include "base/location.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/single_thread_task_runner.h" | 21 #include "base/single_thread_task_runner.h" |
22 #include "base/strings/string_split.h" | 22 #include "base/strings/string_split.h" |
23 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
24 #include "base/threading/thread_restrictions.h" | 24 #include "base/threading/thread_restrictions.h" |
25 #include "base/threading/thread_task_runner_handle.h" | 25 #include "base/threading/thread_task_runner_handle.h" |
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1482 // Chrome locale. Otherwise it will be lost if Chrome restarts. | 1482 // Chrome locale. Otherwise it will be lost if Chrome restarts. |
1483 // Don't need to schedule pref save because setting initial local | 1483 // Don't need to schedule pref save because setting initial local |
1484 // will enforce preference saving. | 1484 // will enforce preference saving. |
1485 prefs->SetString(prefs::kApplicationLocale, locale); | 1485 prefs->SetString(prefs::kApplicationLocale, locale); |
1486 StartupUtils::SetInitialLocale(locale); | 1486 StartupUtils::SetInitialLocale(locale); |
1487 | 1487 |
1488 TriggerShowLoginWizardFinish(locale, std::move(data)); | 1488 TriggerShowLoginWizardFinish(locale, std::move(data)); |
1489 } | 1489 } |
1490 | 1490 |
1491 } // namespace chromeos | 1491 } // namespace chromeos |
OLD | NEW |