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

Side by Side Diff: chrome/browser/chromeos/login/auth/auth_attempt_state.h

Issue 290513003: Move UserContext to its own file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_AUTH_AUTH_ATTEMPT_STATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h" 10 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h"
11 #include "chrome/browser/chromeos/login/auth/user_context.h"
11 #include "chrome/browser/chromeos/login/users/user.h" 12 #include "chrome/browser/chromeos/login/users/user.h"
12 #include "google_apis/gaia/gaia_auth_consumer.h" 13 #include "google_apis/gaia/gaia_auth_consumer.h"
13 #include "google_apis/gaia/gaia_auth_fetcher.h" 14 #include "google_apis/gaia/gaia_auth_fetcher.h"
14 #include "third_party/cros_system_api/dbus/service_constants.h" 15 #include "third_party/cros_system_api/dbus/service_constants.h"
15 16
16 namespace chromeos { 17 namespace chromeos {
17 18
18 // Tracks the state associated with a single attempt to log in to chromium OS. 19 // Tracks the state associated with a single attempt to log in to chromium OS.
19 // Enforces that methods are only called on the UI thread. 20 // Enforces that methods are only called on the UI thread.
20 class AuthAttemptState { 21 class AuthAttemptState {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // After the username hash request is completed, this marks whether 109 // After the username hash request is completed, this marks whether
109 // the request was successful. 110 // the request was successful.
110 bool username_hash_valid_; 111 bool username_hash_valid_;
111 112
112 DISALLOW_COPY_AND_ASSIGN(AuthAttemptState); 113 DISALLOW_COPY_AND_ASSIGN(AuthAttemptState);
113 }; 114 };
114 115
115 } // namespace chromeos 116 } // namespace chromeos
116 117
117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ 118 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/app_launch_signin_screen.cc ('k') | chrome/browser/chromeos/login/auth/extended_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698