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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.cc

Issue 10818006: Re-enable OTP sign in on trunk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 8 years, 5 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/ui/webui/sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index 22744f089233bd896a469f6d2b601df5779ac073..e334eb1942f89528ed1e70fc49a03d736aeea9e9 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -186,8 +186,8 @@ bool AreUserNamesEqual(const string16& user1, const string16& user2) {
}
bool IsClientOAuthEnabled() {
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableClientOAuthSignin);
+ return !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableClientOAuthSignin);
}
} // namespace
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.cc ('k') | chrome/browser/ui/webui/sync_setup_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698