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

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 9550009: [Sync] Move dependency on Chrome switches from SyncNotifierFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 9 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/sync/test/integration/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index 9855ecc3daa4b4118dbba05fff99b51439d7c129..1499e3a26ac7b94d6848ea18898145a5e892eac9 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -475,8 +475,8 @@ bool SyncTest::SetUpLocalPythonTestServer() {
xmpp_host_port_pair.set_port(xmpp_port);
xmpp_port_.reset(new net::ScopedPortException(xmpp_port));
- if (!cl->HasSwitch(switches::kSyncNotificationHost)) {
- cl->AppendSwitchASCII(switches::kSyncNotificationHost,
+ if (!cl->HasSwitch(switches::kSyncNotificationHostPort)) {
+ cl->AppendSwitchASCII(switches::kSyncNotificationHostPort,
xmpp_host_port_pair.ToString());
// The local XMPP server only supports insecure connections.
cl->AppendSwitch(switches::kSyncAllowInsecureXmppConnection);
« no previous file with comments | « chrome/browser/sync/notifier/sync_notifier_factory_unittest.cc ('k') | chrome/browser/sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698