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

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

Issue 23532034: Postpone loading about:flags ui until the certificates have been loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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 | Annotate | Revision Log
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_PARALLEL_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 // Used for testing to set the expected state of an owner check. 202 // Used for testing to set the expected state of an owner check.
203 void SetOwnerState(bool owner_check_finished, bool check_result); 203 void SetOwnerState(bool owner_check_finished, bool check_result);
204 204
205 // checks if the current mounted home contains the owner case and either 205 // checks if the current mounted home contains the owner case and either
206 // continues or fails the log-in. Used for policy lost mitigation "safe-mode". 206 // continues or fails the log-in. Used for policy lost mitigation "safe-mode".
207 // Returns true if the owner check has been successful or if it is not needed. 207 // Returns true if the owner check has been successful or if it is not needed.
208 bool VerifyOwner(); 208 bool VerifyOwner();
209 209
210 // Handles completion of the ownership check and continues login. 210 // Handles completion of the ownership check and continues login.
211 void OnOwnershipChecked(DeviceSettingsService::OwnershipStatus status, 211 void OnOwnershipChecked(DeviceSettingsService::OwnershipStatus status);
212 bool is_owner);
213 212
214 // Signal login completion status for cases when a new user is added via 213 // Signal login completion status for cases when a new user is added via
215 // an external authentication provider (i.e. GAIA extension). 214 // an external authentication provider (i.e. GAIA extension).
216 void ResolveLoginCompletionStatus(); 215 void ResolveLoginCompletionStatus();
217 216
218 scoped_ptr<AuthAttemptState> current_state_; 217 scoped_ptr<AuthAttemptState> current_state_;
219 scoped_ptr<OnlineAttempt> current_online_; 218 scoped_ptr<OnlineAttempt> current_online_;
220 bool migrate_attempted_; 219 bool migrate_attempted_;
221 bool remove_attempted_; 220 bool remove_attempted_;
222 bool ephemeral_mount_attempted_; 221 bool ephemeral_mount_attempted_;
(...skipping 13 matching lines...) Expand all
236 235
237 // True if we use OAuth-based authentication flow. 236 // True if we use OAuth-based authentication flow.
238 bool using_oauth_; 237 bool using_oauth_;
239 238
240 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator); 239 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator);
241 }; 240 };
242 241
243 } // namespace chromeos 242 } // namespace chromeos
244 243
245 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_ 244 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698