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

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

Issue 10800010: Revert 140439 - Make OTP sign in on by default. It can be turned off in about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix error handling for ASPs 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 f8ac64417d1fba985d0ffbb0ac778712fa954be8..557a8537dc3831236d0d3f12c853ec92212d9419 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()) {
- ASSERT_FALSE(CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableClientOAuthSignin));
- } else {
CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kDisableClientOAuthSignin);
+ switches::kEnableClientOAuthSignin);
+ } else {
+ ASSERT_FALSE(CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableClientOAuthSignin));
}
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