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

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

Issue 148843002: Make an online wildcard login check for enterprise devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Filter out well-known consumer domains. Created 6 years, 10 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_LOGIN_PERFORMER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // Implements OnlineAttemptHost::Delegate. 110 // Implements OnlineAttemptHost::Delegate.
111 virtual void OnChecked(const std::string& username, bool success) OVERRIDE; 111 virtual void OnChecked(const std::string& username, bool success) OVERRIDE;
112 112
113 private: 113 private:
114 // Starts login completion of externally authenticated user. 114 // Starts login completion of externally authenticated user.
115 void StartLoginCompletion(); 115 void StartLoginCompletion();
116 116
117 // Starts authentication. 117 // Starts authentication.
118 void StartAuthentication(); 118 void StartAuthentication();
119 119
120 // Completion callback for the online wildcard login check for enterprise
121 // devices. Continues the login process or signals whitelist check failure
122 // depending on the value of |result|.
123 void OnlineWildcardLoginCheckCompleted(bool result);
124
120 // Used for logging in. 125 // Used for logging in.
121 scoped_refptr<Authenticator> authenticator_; 126 scoped_refptr<Authenticator> authenticator_;
122 127
123 // Used to make auxiliary online check. 128 // Used to make auxiliary online check.
124 OnlineAttemptHost online_attempt_host_; 129 OnlineAttemptHost online_attempt_host_;
125 130
126 // Represents last login failure that was encountered when communicating to 131 // Represents last login failure that was encountered when communicating to
127 // sign-in server. LoginFailure.LoginFailureNone() by default. 132 // sign-in server. LoginFailure.LoginFailureNone() by default.
128 LoginFailure last_login_failure_; 133 LoginFailure last_login_failure_;
129 134
(...skipping 12 matching lines...) Expand all
142 AuthorizationMode auth_mode_; 147 AuthorizationMode auth_mode_;
143 148
144 base::WeakPtrFactory<LoginPerformer> weak_factory_; 149 base::WeakPtrFactory<LoginPerformer> weak_factory_;
145 150
146 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); 151 DISALLOW_COPY_AND_ASSIGN(LoginPerformer);
147 }; 152 };
148 153
149 } // namespace chromeos 154 } // namespace chromeos
150 155
151 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 156 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698