Index: chrome/test/live_sync/live_sync_test.cc |
diff --git a/chrome/test/live_sync/live_sync_test.cc b/chrome/test/live_sync/live_sync_test.cc |
index 207eb99b5263b3a8f4fe0ee869de9159e6706995..8f87da37821b4207af72efa0edeac7048dc5ab1e 100644 |
--- a/chrome/test/live_sync/live_sync_test.cc |
+++ b/chrome/test/live_sync/live_sync_test.cc |
@@ -60,8 +60,8 @@ void LiveSyncTest::SetUp() { |
// TODO(rsimha): Until we implement a fake Tango server against which tests |
// can run, we need to set the --sync-notification-method to "transitional". |
if (!cl->HasSwitch(switches::kSyncNotificationMethod)) { |
- cl->AppendSwitchWithValue(switches::kSyncNotificationMethod, |
- "transitional"); |
+ cl->AppendSwitchASCII(switches::kSyncNotificationMethod, |
+ "transitional"); |
} |
// Unless a sync server was explicitly provided, run a test one locally. |
@@ -183,9 +183,9 @@ void LiveSyncTest::SetUpLocalTestServer() { |
started_local_test_server_ = true; |
CommandLine* cl = CommandLine::ForCurrentProcess(); |
- cl->AppendSwitchWithValue(switches::kSyncServiceURL, |
+ cl->AppendSwitchASCII(switches::kSyncServiceURL, |
StringPrintf("http://%s:%d/chromiumsync", server_.kHostName, |
- server_.kOKHTTPSPort)); |
+ server_.kOKHTTPSPort)); |
} |
void LiveSyncTest::TearDownLocalTestServer() { |