Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 2798023005: Force encryption migration if the device supports ARC. (Closed)
Patch Set: Bind |auth_mode| Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // Shows "critical TPM error" screen. 213 // Shows "critical TPM error" screen.
214 void ShowTPMError(); 214 void ShowTPMError();
215 215
216 // Shows "password changed" dialog. 216 // Shows "password changed" dialog.
217 void ShowPasswordChangedDialog(); 217 void ShowPasswordChangedDialog();
218 218
219 // Creates |login_performer_| if necessary and calls login() on it. 219 // Creates |login_performer_| if necessary and calls login() on it.
220 void PerformLogin(const UserContext& user_context, 220 void PerformLogin(const UserContext& user_context,
221 LoginPerformer::AuthorizationMode auth_mode); 221 LoginPerformer::AuthorizationMode auth_mode);
222 222
223 // calls login() on previously-used |login_performer|.
224 void ContinuePerformLogin(LoginPerformer::AuthorizationMode auth_mode,
225 const UserContext& user_context);
226
223 // Updates the |login_display_| attached to this controller. 227 // Updates the |login_display_| attached to this controller.
224 void UpdateLoginDisplay(const user_manager::UserList& users); 228 void UpdateLoginDisplay(const user_manager::UserList& users);
225 229
226 // Sends an accessibility alert event to extension listeners. 230 // Sends an accessibility alert event to extension listeners.
227 void SendAccessibilityAlert(const std::string& alert_text); 231 void SendAccessibilityAlert(const std::string& alert_text);
228 232
229 // Callback invoked when the keyboard layouts available for a public session 233 // Callback invoked when the keyboard layouts available for a public session
230 // have been retrieved. Selects the first layout from the list and continues 234 // have been retrieved. Selects the first layout from the list and continues
231 // login. 235 // login.
232 void SetPublicSessionKeyboardLayoutAndLogin( 236 void SetPublicSessionKeyboardLayoutAndLogin(
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 385
382 // Factory of callbacks. 386 // Factory of callbacks.
383 base::WeakPtrFactory<ExistingUserController> weak_factory_; 387 base::WeakPtrFactory<ExistingUserController> weak_factory_;
384 388
385 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 389 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
386 }; 390 };
387 391
388 } // namespace chromeos 392 } // namespace chromeos
389 393
390 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 394 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698