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

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

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/login_performer.cc
diff --git a/chrome/browser/chromeos/login/login_performer.cc b/chrome/browser/chromeos/login/login_performer.cc
index ca0a1ac9ffba64ef3e4cb1e1fcbc59bb4bdaad52..1ab69f41ed44e34cbf3ec12bc2e98840070cccfb 100644
--- a/chrome/browser/chromeos/login/login_performer.cc
+++ b/chrome/browser/chromeos/login/login_performer.cc
@@ -60,9 +60,6 @@ LoginPerformer::LoginPerformer(Delegate* delegate)
screen_lock_requested_(false),
initial_online_auth_pending_(false),
auth_mode_(AUTH_MODE_INTERNAL),
- using_oauth_(
- !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kSkipOAuthLogin)),
ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
DCHECK(default_performer_ == NULL)
<< "LoginPerformer should have only one instance.";
@@ -190,8 +187,7 @@ void LoginPerformer::OnProfileCreated(
return;
}
- if (using_oauth_)
- LoginUtils::Get()->StartTokenServices(profile);
+ LoginUtils::Get()->StartTokenServices(profile);
// Don't unlock screen if it was locked while we're waiting
// for initial online auth.

Powered by Google App Engine
This is Rietveld 408576698