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

Side by Side Diff: chromeos/login/auth/login_performer.h

Issue 681753002: Avoid possible recursion during supervised user sign in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 1 month 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 | chromeos/login/auth/login_performer.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 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 CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ 5 #ifndef CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_
6 #define CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ 6 #define CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 void StartLoginCompletion(); 188 void StartLoginCompletion();
189 189
190 // Starts authentication. 190 // Starts authentication.
191 void StartAuthentication(); 191 void StartAuthentication();
192 void NotifyWhitelistCheckFailure(); 192 void NotifyWhitelistCheckFailure();
193 193
194 // Makes sure that authenticator is created. 194 // Makes sure that authenticator is created.
195 void EnsureAuthenticator(); 195 void EnsureAuthenticator();
196 void EnsureExtendedAuthenticator(); 196 void EnsureExtendedAuthenticator();
197 197
198 // Actual implementation of LoginAsSupervisedUser that is run after trusted
199 // values check.
200 void TrustedLoginAsSupervisedUser(const UserContext& user_context);
201
198 // Actual implementantion of PeformLogin that is run after trusted values 202 // Actual implementantion of PeformLogin that is run after trusted values
199 // check. 203 // check.
200 void DoPerformLogin(const UserContext& user_context, 204 void DoPerformLogin(const UserContext& user_context,
201 AuthorizationMode auth_mode); 205 AuthorizationMode auth_mode);
202 206
203 scoped_refptr<base::TaskRunner> task_runner_; 207 scoped_refptr<base::TaskRunner> task_runner_;
204 208
205 // Used for logging in. 209 // Used for logging in.
206 scoped_refptr<Authenticator> authenticator_; 210 scoped_refptr<Authenticator> authenticator_;
207 211
(...skipping 18 matching lines...) Expand all
226 // Authorization mode type. 230 // Authorization mode type.
227 AuthorizationMode auth_mode_; 231 AuthorizationMode auth_mode_;
228 232
229 base::WeakPtrFactory<LoginPerformer> weak_factory_; 233 base::WeakPtrFactory<LoginPerformer> weak_factory_;
230 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); 234 DISALLOW_COPY_AND_ASSIGN(LoginPerformer);
231 }; 235 };
232 236
233 } // namespace chromeos 237 } // namespace chromeos
234 238
235 #endif // CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ 239 #endif // CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/login/auth/login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698