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

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

Issue 2801873007: Resume encryption migration immediately if the previous migration is incomplete. (Closed)
Patch Set: 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(const UserContext& user_context) override; 166 void OnOldEncryptionDetected(const UserContext& user_context,
167 bool has_incomplete_migration) override;
167 void WhiteListCheckFailed(const std::string& email) override; 168 void WhiteListCheckFailed(const std::string& email) override;
168 void PolicyLoadFailed() override; 169 void PolicyLoadFailed() override;
169 void SetAuthFlowOffline(bool offline) override; 170 void SetAuthFlowOffline(bool offline) override;
170 171
171 // UserSessionManagerDelegate implementation: 172 // UserSessionManagerDelegate implementation:
172 void OnProfilePrepared(Profile* profile, bool browser_launched) override; 173 void OnProfilePrepared(Profile* profile, bool browser_launched) override;
173 174
174 // Called when device settings change. 175 // Called when device settings change.
175 void DeviceSettingsChanged(); 176 void DeviceSettingsChanged();
176 177
(...skipping 24 matching lines...) Expand all
201 // Shows "enable developer features" screen. 202 // Shows "enable developer features" screen.
202 void ShowEnableDebuggingScreen(); 203 void ShowEnableDebuggingScreen();
203 204
204 // Shows kiosk feature enable screen. 205 // Shows kiosk feature enable screen.
205 void ShowKioskEnableScreen(); 206 void ShowKioskEnableScreen();
206 207
207 // Shows "kiosk auto-launch permission" screen. 208 // Shows "kiosk auto-launch permission" screen.
208 void ShowKioskAutolaunchScreen(); 209 void ShowKioskAutolaunchScreen();
209 210
210 // Shows "filesystem encryption migration" screen. 211 // Shows "filesystem encryption migration" screen.
211 void ShowEncryptionMigrationScreen(const UserContext& user_context); 212 void ShowEncryptionMigrationScreen(const UserContext& user_context,
213 bool has_incomplete_migration);
212 214
213 // Shows "critical TPM error" screen. 215 // Shows "critical TPM error" screen.
214 void ShowTPMError(); 216 void ShowTPMError();
215 217
216 // Shows "password changed" dialog. 218 // Shows "password changed" dialog.
217 void ShowPasswordChangedDialog(); 219 void ShowPasswordChangedDialog();
218 220
219 // Creates |login_performer_| if necessary and calls login() on it. 221 // Creates |login_performer_| if necessary and calls login() on it.
220 void PerformLogin(const UserContext& user_context, 222 void PerformLogin(const UserContext& user_context,
221 LoginPerformer::AuthorizationMode auth_mode); 223 LoginPerformer::AuthorizationMode auth_mode);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 387
386 // Factory of callbacks. 388 // Factory of callbacks.
387 base::WeakPtrFactory<ExistingUserController> weak_factory_; 389 base::WeakPtrFactory<ExistingUserController> weak_factory_;
388 390
389 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 391 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
390 }; 392 };
391 393
392 } // namespace chromeos 394 } // namespace chromeos
393 395
394 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 396 #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