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

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

Issue 11649055: OAuth2 sign-in flow for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool screen_lock_requested_; 213 bool screen_lock_requested_;
214 214
215 // True if LoginPerformer instance is waiting for the initial (very first one) 215 // True if LoginPerformer instance is waiting for the initial (very first one)
216 // online authentication response. Used to distinguish cases when screen 216 // online authentication response. Used to distinguish cases when screen
217 // is locked during that stage. No need to resolve screen lock action then. 217 // is locked during that stage. No need to resolve screen lock action then.
218 bool initial_online_auth_pending_; 218 bool initial_online_auth_pending_;
219 219
220 // Authorization mode type. 220 // Authorization mode type.
221 AuthorizationMode auth_mode_; 221 AuthorizationMode auth_mode_;
222 222
223 // True if we use OAuth during authorization process.
224 bool using_oauth_;
225
226 base::WeakPtrFactory<LoginPerformer> weak_factory_; 223 base::WeakPtrFactory<LoginPerformer> weak_factory_;
227 224
228 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); 225 DISALLOW_COPY_AND_ASSIGN(LoginPerformer);
229 }; 226 };
230 227
231 } // namespace chromeos 228 } // namespace chromeos
232 229
233 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 230 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698