OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/ui/webui/chromeos/login/signin_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <vector> | 10 #include <vector> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #include "chromeos/dbus/power_manager_client.h" | 73 #include "chromeos/dbus/power_manager_client.h" |
74 #include "chromeos/login/auth/key.h" | 74 #include "chromeos/login/auth/key.h" |
75 #include "chromeos/login/auth/user_context.h" | 75 #include "chromeos/login/auth/user_context.h" |
76 #include "chromeos/network/network_state.h" | 76 #include "chromeos/network/network_state.h" |
77 #include "chromeos/network/network_state_handler.h" | 77 #include "chromeos/network/network_state_handler.h" |
78 #include "components/login/localized_values_builder.h" | 78 #include "components/login/localized_values_builder.h" |
79 #include "components/prefs/pref_registry_simple.h" | 79 #include "components/prefs/pref_registry_simple.h" |
80 #include "components/prefs/pref_service.h" | 80 #include "components/prefs/pref_service.h" |
81 #include "components/prefs/scoped_user_pref_update.h" | 81 #include "components/prefs/scoped_user_pref_update.h" |
82 #include "components/proximity_auth/screenlock_bridge.h" | 82 #include "components/proximity_auth/screenlock_bridge.h" |
| 83 #include "components/strings/grit/components_strings.h" |
83 #include "components/user_manager/known_user.h" | 84 #include "components/user_manager/known_user.h" |
84 #include "components/user_manager/user.h" | 85 #include "components/user_manager/user.h" |
85 #include "components/user_manager/user_manager.h" | 86 #include "components/user_manager/user_manager.h" |
86 #include "components/user_manager/user_type.h" | 87 #include "components/user_manager/user_type.h" |
87 #include "content/public/browser/render_frame_host.h" | 88 #include "content/public/browser/render_frame_host.h" |
88 #include "content/public/browser/web_contents.h" | 89 #include "content/public/browser/web_contents.h" |
89 #include "google_apis/gaia/gaia_auth_util.h" | 90 #include "google_apis/gaia/gaia_auth_util.h" |
90 #include "grit/components_strings.h" | |
91 #include "third_party/cros_system_api/dbus/service_constants.h" | 91 #include "third_party/cros_system_api/dbus/service_constants.h" |
92 #include "ui/base/ime/chromeos/ime_keyboard.h" | 92 #include "ui/base/ime/chromeos/ime_keyboard.h" |
93 #include "ui/base/ime/chromeos/input_method_descriptor.h" | 93 #include "ui/base/ime/chromeos/input_method_descriptor.h" |
94 #include "ui/base/ime/chromeos/input_method_manager.h" | 94 #include "ui/base/ime/chromeos/input_method_manager.h" |
95 #include "ui/base/webui/web_ui_util.h" | 95 #include "ui/base/webui/web_ui_util.h" |
96 | 96 |
97 namespace { | 97 namespace { |
98 | 98 |
99 // Max number of users to show. | 99 // Max number of users to show. |
100 const size_t kMaxUsers = 18; | 100 const size_t kMaxUsers = 18; |
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1501 } | 1501 } |
1502 | 1502 |
1503 void SigninScreenHandler::OnFeedbackFinished() { | 1503 void SigninScreenHandler::OnFeedbackFinished() { |
1504 CallJS("login.UnrecoverableCryptohomeErrorScreen.resumeAfterFeedbackUI"); | 1504 CallJS("login.UnrecoverableCryptohomeErrorScreen.resumeAfterFeedbackUI"); |
1505 | 1505 |
1506 // Recreate user's cryptohome after the feedback is attempted. | 1506 // Recreate user's cryptohome after the feedback is attempted. |
1507 HandleResyncUserData(); | 1507 HandleResyncUserData(); |
1508 } | 1508 } |
1509 | 1509 |
1510 } // namespace chromeos | 1510 } // namespace chromeos |
OLD | NEW |