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

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

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // Returns value of LoginPerformer::password_changed() (cached if performer is 120 // Returns value of LoginPerformer::password_changed() (cached if performer is
121 // destroyed). 121 // destroyed).
122 bool password_changed() const; 122 bool password_changed() const;
123 123
124 private: 124 private:
125 friend class ExistingUserControllerTest; 125 friend class ExistingUserControllerTest;
126 friend class ExistingUserControllerAutoLoginTest; 126 friend class ExistingUserControllerAutoLoginTest;
127 friend class ExistingUserControllerPublicSessionTest; 127 friend class ExistingUserControllerPublicSessionTest;
128 friend class MockLoginPerformerDelegate; 128 friend class MockLoginPerformerDelegate;
129 129
130 void LoginAsRetailModeUser();
131 void LoginAsGuest(); 130 void LoginAsGuest();
132 void LoginAsPublicSession(const UserContext& user_context); 131 void LoginAsPublicSession(const UserContext& user_context);
133 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode); 132 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode);
134 133
135 // Retrieve public session auto-login policy and update the timer. 134 // Retrieve public session auto-login policy and update the timer.
136 void ConfigurePublicSessionAutoLogin(); 135 void ConfigurePublicSessionAutoLogin();
137 136
138 // Trigger public session auto-login. 137 // Trigger public session auto-login.
139 void OnPublicSessionAutoLoginTimerFire(); 138 void OnPublicSessionAutoLoginTimerFire();
140 139
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 310
312 // Factory of callbacks. 311 // Factory of callbacks.
313 base::WeakPtrFactory<ExistingUserController> weak_factory_; 312 base::WeakPtrFactory<ExistingUserController> weak_factory_;
314 313
315 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 314 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
316 }; 315 };
317 316
318 } // namespace chromeos 317 } // namespace chromeos
319 318
320 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 319 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698