| Index: chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/sync_setup_handler_unittest.cc (revision 151028)
|
| +++ chrome/browser/ui/webui/sync_setup_handler_unittest.cc (working copy)
|
| @@ -358,11 +358,11 @@
|
| // 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::kDisableClientOAuthSignin));
|
| - } else {
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kDisableClientOAuthSignin);
|
| + switches::kEnableClientOAuthSignin));
|
| }
|
|
|
| error_ = GoogleServiceAuthError::None();
|
|
|