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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler_unittest.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
« no previous file with comments | « chrome/browser/ui/webui/sync_setup_handler.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_setup_handler_unittest.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
index 557a8537dc3831236d0d3f12c853ec92212d9419..f8ac64417d1fba985d0ffbb0ac778712fa954be8 100644
--- a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
@@ -357,11 +357,11 @@ class SyncSetupHandlerTest : public testing::TestWithParam<bool> {
// If the parameter is true, then use ClientOAuth for the tests. Otherwise
// use ClientLogin for the tests.
if (GetParam()) {
- CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kEnableClientOAuthSignin);
- } else {
ASSERT_FALSE(CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableClientOAuthSignin));
+ switches::kDisableClientOAuthSignin));
+ } else {
+ CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kDisableClientOAuthSignin);
}
error_ = GoogleServiceAuthError::None();
« no previous file with comments | « chrome/browser/ui/webui/sync_setup_handler.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698