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

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

Issue 539273002: Added UI to enable debugging features on CrOS (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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void CancelPasswordChangedFlow() override; 83 virtual void CancelPasswordChangedFlow() override;
84 virtual void CreateAccount() override; 84 virtual void CreateAccount() override;
85 virtual void CompleteLogin(const UserContext& user_context) override; 85 virtual void CompleteLogin(const UserContext& user_context) override;
86 virtual base::string16 GetConnectedNetworkName() override; 86 virtual base::string16 GetConnectedNetworkName() override;
87 virtual bool IsSigninInProgress() const override; 87 virtual bool IsSigninInProgress() const override;
88 virtual void Login(const UserContext& user_context, 88 virtual void Login(const UserContext& user_context,
89 const SigninSpecifics& specifics) override; 89 const SigninSpecifics& specifics) override;
90 virtual void MigrateUserData(const std::string& old_password) override; 90 virtual void MigrateUserData(const std::string& old_password) override;
91 virtual void OnSigninScreenReady() override; 91 virtual void OnSigninScreenReady() override;
92 virtual void OnStartEnterpriseEnrollment() override; 92 virtual void OnStartEnterpriseEnrollment() override;
93 virtual void OnStartEnableDebuggingScreen() override;
93 virtual void OnStartKioskEnableScreen() override; 94 virtual void OnStartKioskEnableScreen() override;
94 virtual void OnStartKioskAutolaunchScreen() override; 95 virtual void OnStartKioskAutolaunchScreen() override;
95 virtual void ResetPublicSessionAutoLoginTimer() override; 96 virtual void ResetPublicSessionAutoLoginTimer() override;
96 virtual void ResyncUserData() override; 97 virtual void ResyncUserData() override;
97 virtual void SetDisplayEmail(const std::string& email) override; 98 virtual void SetDisplayEmail(const std::string& email) override;
98 virtual void ShowWrongHWIDScreen() override; 99 virtual void ShowWrongHWIDScreen() override;
99 virtual void Signout() override; 100 virtual void Signout() override;
100 101
101 // content::NotificationObserver implementation. 102 // content::NotificationObserver implementation.
102 virtual void Observe(int type, 103 virtual void Observe(int type,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 186
186 // Enters the enterprise enrollment screen. |forced| is true if this is the 187 // Enters the enterprise enrollment screen. |forced| is true if this is the
187 // result of an auto-enrollment check, and the user shouldn't be able to 188 // result of an auto-enrollment check, and the user shouldn't be able to
188 // easily cancel the enrollment. In that case, |user| is the user name that 189 // easily cancel the enrollment. In that case, |user| is the user name that
189 // first logged in. 190 // first logged in.
190 void ShowEnrollmentScreen(bool forced, const std::string& user); 191 void ShowEnrollmentScreen(bool forced, const std::string& user);
191 192
192 // Shows "reset device" screen. 193 // Shows "reset device" screen.
193 void ShowResetScreen(); 194 void ShowResetScreen();
194 195
196 // Shows "enable developer features" screen.
197 void ShowEnableDebuggingScreen();
198
195 // Shows kiosk feature enable screen. 199 // Shows kiosk feature enable screen.
196 void ShowKioskEnableScreen(); 200 void ShowKioskEnableScreen();
197 201
198 // Shows "kiosk auto-launch permission" screen. 202 // Shows "kiosk auto-launch permission" screen.
199 void ShowKioskAutolaunchScreen(); 203 void ShowKioskAutolaunchScreen();
200 204
201 // Shows "critical TPM error" screen. 205 // Shows "critical TPM error" screen.
202 void ShowTPMError(); 206 void ShowTPMError();
203 207
204 // Invoked to complete login. Login might be suspended if auto-enrollment 208 // Invoked to complete login. Login might be suspended if auto-enrollment
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 344
341 // Factory of callbacks. 345 // Factory of callbacks.
342 base::WeakPtrFactory<ExistingUserController> weak_factory_; 346 base::WeakPtrFactory<ExistingUserController> weak_factory_;
343 347
344 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 348 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
345 }; 349 };
346 350
347 } // namespace chromeos 351 } // namespace chromeos
348 352
349 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 353 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698