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

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, 1 month 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // Returns value of LoginPerformer::password_changed() (cached if performer is 128 // Returns value of LoginPerformer::password_changed() (cached if performer is
129 // destroyed). 129 // destroyed).
130 bool password_changed() const; 130 bool password_changed() const;
131 131
132 private: 132 private:
133 friend class ExistingUserControllerTest; 133 friend class ExistingUserControllerTest;
134 friend class ExistingUserControllerAutoLoginTest; 134 friend class ExistingUserControllerAutoLoginTest;
135 friend class ExistingUserControllerPublicSessionTest; 135 friend class ExistingUserControllerPublicSessionTest;
136 friend class MockLoginPerformerDelegate; 136 friend class MockLoginPerformerDelegate;
137 137
138 void LoginAsRetailModeUser();
139 void LoginAsGuest(); 138 void LoginAsGuest();
140 void LoginAsPublicSession(const UserContext& user_context); 139 void LoginAsPublicSession(const UserContext& user_context);
141 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode); 140 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode);
142 141
143 // Retrieve public session auto-login policy and update the timer. 142 // Retrieve public session auto-login policy and update the timer.
144 void ConfigurePublicSessionAutoLogin(); 143 void ConfigurePublicSessionAutoLogin();
145 144
146 // Trigger public session auto-login. 145 // Trigger public session auto-login.
147 void OnPublicSessionAutoLoginTimerFire(); 146 void OnPublicSessionAutoLoginTimerFire();
148 147
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 343
345 // Factory of callbacks. 344 // Factory of callbacks.
346 base::WeakPtrFactory<ExistingUserController> weak_factory_; 345 base::WeakPtrFactory<ExistingUserController> weak_factory_;
347 346
348 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 347 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
349 }; 348 };
350 349
351 } // namespace chromeos 350 } // namespace chromeos
352 351
353 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 352 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698