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

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

Issue 2835473002: Chromad: Allow offline login. (Closed)
Patch Set: Add TryAuthenticateUser call 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 22 matching lines...) Expand all
33 #include "content/public/browser/notification_registrar.h" 33 #include "content/public/browser/notification_registrar.h"
34 #include "ui/gfx/geometry/rect.h" 34 #include "ui/gfx/geometry/rect.h"
35 #include "url/gurl.h" 35 #include "url/gurl.h"
36 36
37 namespace base { 37 namespace base {
38 class ListValue; 38 class ListValue;
39 } 39 }
40 40
41 namespace chromeos { 41 namespace chromeos {
42 42
43 class AuthPolicyLoginHelper;
43 class BootstrapUserContextInitializer; 44 class BootstrapUserContextInitializer;
44 class CrosSettings; 45 class CrosSettings;
45 class LoginDisplayHost; 46 class LoginDisplayHost;
46 class OAuth2TokenInitializer; 47 class OAuth2TokenInitializer;
47 48
48 namespace login { 49 namespace login {
49 class NetworkStateHelper; 50 class NetworkStateHelper;
50 } 51 }
51 52
52 // ExistingUserController is used to handle login when someone has 53 // ExistingUserController is used to handle login when someone has
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 293
293 // AccountId for public session auto-login. 294 // AccountId for public session auto-login.
294 AccountId public_session_auto_login_account_id_ = EmptyAccountId(); 295 AccountId public_session_auto_login_account_id_ = EmptyAccountId();
295 296
296 // AccountId for ARC kiosk auto-login. 297 // AccountId for ARC kiosk auto-login.
297 AccountId arc_kiosk_auto_login_account_id_ = EmptyAccountId(); 298 AccountId arc_kiosk_auto_login_account_id_ = EmptyAccountId();
298 299
299 // Used to execute login operations. 300 // Used to execute login operations.
300 std::unique_ptr<LoginPerformer> login_performer_; 301 std::unique_ptr<LoginPerformer> login_performer_;
301 302
303 // Used to execute login to AuthPolicy service. It provides authentication
304 // against Active Directory server.
305 std::unique_ptr<AuthPolicyLoginHelper> authpolicy_login_helper_;
306
302 // Delegate to forward all authentication status events to. 307 // Delegate to forward all authentication status events to.
303 // Tests can use this to receive authentication status events. 308 // Tests can use this to receive authentication status events.
304 AuthStatusConsumer* auth_status_consumer_ = nullptr; 309 AuthStatusConsumer* auth_status_consumer_ = nullptr;
305 310
306 // AccountId of the last login attempt. 311 // AccountId of the last login attempt.
307 AccountId last_login_attempt_account_id_ = EmptyAccountId(); 312 AccountId last_login_attempt_account_id_ = EmptyAccountId();
308 313
309 // Whether the last login attempt was an auto login. 314 // Whether the last login attempt was an auto login.
310 bool last_login_attempt_was_auto_login_ = false; 315 bool last_login_attempt_was_auto_login_ = false;
311 316
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 397
393 // Factory of callbacks. 398 // Factory of callbacks.
394 base::WeakPtrFactory<ExistingUserController> weak_factory_; 399 base::WeakPtrFactory<ExistingUserController> weak_factory_;
395 400
396 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 401 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
397 }; 402 };
398 403
399 } // namespace chromeos 404 } // namespace chromeos
400 405
401 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 406 #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