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

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

Issue 2784273003: Implement a basic UI flow for cryptohome encryption migration. (Closed)
Patch Set: Address review comments. 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Trigger public session auto-login. 156 // Trigger public session auto-login.
157 void OnPublicSessionAutoLoginTimerFire(); 157 void OnPublicSessionAutoLoginTimerFire();
158 // Trigger ARC kiosk auto-login. 158 // Trigger ARC kiosk auto-login.
159 void OnArcKioskAutoLoginTimerFire(); 159 void OnArcKioskAutoLoginTimerFire();
160 160
161 // LoginPerformer::Delegate implementation: 161 // LoginPerformer::Delegate implementation:
162 void OnAuthFailure(const AuthFailure& error) override; 162 void OnAuthFailure(const AuthFailure& error) override;
163 void OnAuthSuccess(const UserContext& user_context) override; 163 void OnAuthSuccess(const UserContext& user_context) override;
164 void OnOffTheRecordAuthSuccess() override; 164 void OnOffTheRecordAuthSuccess() override;
165 void OnPasswordChangeDetected() override; 165 void OnPasswordChangeDetected() override;
166 void OnOldEncryptionDetected() override; 166 void OnOldEncryptionDetected(const UserContext& user_context) override;
167 void WhiteListCheckFailed(const std::string& email) override; 167 void WhiteListCheckFailed(const std::string& email) override;
168 void PolicyLoadFailed() override; 168 void PolicyLoadFailed() override;
169 void SetAuthFlowOffline(bool offline) override; 169 void SetAuthFlowOffline(bool offline) override;
170 170
171 // UserSessionManagerDelegate implementation: 171 // UserSessionManagerDelegate implementation:
172 void OnProfilePrepared(Profile* profile, bool browser_launched) override; 172 void OnProfilePrepared(Profile* profile, bool browser_launched) override;
173 173
174 // Called when device settings change. 174 // Called when device settings change.
175 void DeviceSettingsChanged(); 175 void DeviceSettingsChanged();
176 176
(...skipping 24 matching lines...) Expand all
201 // Shows "enable developer features" screen. 201 // Shows "enable developer features" screen.
202 void ShowEnableDebuggingScreen(); 202 void ShowEnableDebuggingScreen();
203 203
204 // Shows kiosk feature enable screen. 204 // Shows kiosk feature enable screen.
205 void ShowKioskEnableScreen(); 205 void ShowKioskEnableScreen();
206 206
207 // Shows "kiosk auto-launch permission" screen. 207 // Shows "kiosk auto-launch permission" screen.
208 void ShowKioskAutolaunchScreen(); 208 void ShowKioskAutolaunchScreen();
209 209
210 // Shows "filesystem encryption migration" screen. 210 // Shows "filesystem encryption migration" screen.
211 void ShowEncryptionMigrationScreen(); 211 void ShowEncryptionMigrationScreen(const UserContext& user_context);
212 212
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);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 381
382 // Factory of callbacks. 382 // Factory of callbacks.
383 base::WeakPtrFactory<ExistingUserController> weak_factory_; 383 base::WeakPtrFactory<ExistingUserController> weak_factory_;
384 384
385 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 385 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
386 }; 386 };
387 387
388 } // namespace chromeos 388 } // namespace chromeos
389 389
390 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 390 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698