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

Unified Diff: chrome/browser/chromeos/login/login_performer.cc

Issue 7575030: Added a switch to let pass-through login tests skip OAuth verification part. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/parallel_authenticator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_performer.cc
===================================================================
--- chrome/browser/chromeos/login/login_performer.cc (revision 95419)
+++ chrome/browser/chromeos/login/login_performer.cc (working copy)
@@ -50,8 +50,11 @@
screen_lock_requested_(false),
initial_online_auth_pending_(false),
auth_mode_(AUTH_MODE_INTERNAL),
- using_oauth_(CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kWebUIGaiaLogin)),
+ using_oauth_(
+ CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kWebUIGaiaLogin) &&
+ !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSkipOAuthLogin)),
method_factory_(this) {
DCHECK(default_performer_ == NULL)
<< "LoginPerformer should have only one instance.";
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/parallel_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698