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

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

Issue 2811383002: cros: Refactor oobe LoadUsers to include non-serialized user list. (Closed)
Patch Set: Initial upload Created 3 years, 7 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_SIGNIN_SCREEN_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/chromeos/login/screens/gaia_screen.h" 10 #include "chrome/browser/chromeos/login/screens/gaia_screen.h"
(...skipping 26 matching lines...) Expand all
37 LoginDisplay::Delegate* login_display_delegate); 37 LoginDisplay::Delegate* login_display_delegate);
38 ~SignInScreenController() override; 38 ~SignInScreenController() override;
39 39
40 // Returns the default wizard controller if it has been created. 40 // Returns the default wizard controller if it has been created.
41 static SignInScreenController* Get() { return instance_; } 41 static SignInScreenController* Get() { return instance_; }
42 42
43 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler); 43 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler);
44 44
45 // Set up the list of users for user selection screen. 45 // Set up the list of users for user selection screen.
46 // TODO(antrim): replace with querying for this data. 46 // TODO(antrim): replace with querying for this data.
47 void Init(const user_manager::UserList& users, bool show_guest); 47 void Init(const user_manager::UserList& users);
48 48
49 // Called when signin screen is ready. 49 // Called when signin screen is ready.
50 void OnSigninScreenReady(); 50 void OnSigninScreenReady();
51 51
52 // Query to send list of users to user selection screen. 52 // Query to send list of users to user selection screen.
53 void SendUserList(); 53 void SendUserList();
54 54
55 // Runs OAauth token validity check. 55 // Runs OAauth token validity check.
56 void CheckUserStatus(const AccountId& account_id); 56 void CheckUserStatus(const AccountId& account_id);
57 57
(...skipping 28 matching lines...) Expand all
86 86
87 // Used for notifications during the login process. 87 // Used for notifications during the login process.
88 content::NotificationRegistrar registrar_; 88 content::NotificationRegistrar registrar_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(SignInScreenController); 90 DISALLOW_COPY_AND_ASSIGN(SignInScreenController);
91 }; 91 };
92 92
93 } // namespace chromeos 93 } // namespace chromeos
94 94
95 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ 95 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698