Commit 0ca0f619 authored by pavely@chromium.org's avatar pavely@chromium.org

Remove --sync-invalidate-xmpp-login and --sync-try-ssltcp-first-for-xmpp.

They are not used in test or for troubleshooting.

BUG=382976
R=rlarocque@chromium.org

Review URL: https://codereview.chromium.org/323133002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276442 0039d316-1c4b-4281-b951-d872f2087c98
parent c1ed8f65
...@@ -25,16 +25,6 @@ notifier::NotifierOptions ParseNotifierOptions( ...@@ -25,16 +25,6 @@ notifier::NotifierOptions ParseNotifierOptions(
<< " for test sync notification server."; << " for test sync notification server.";
} }
notifier_options.try_ssltcp_first =
command_line.HasSwitch(switches::kSyncTrySsltcpFirstForXmpp);
DVLOG_IF(1, notifier_options.try_ssltcp_first)
<< "Trying SSL/TCP port before XMPP port for notifications.";
notifier_options.invalidate_xmpp_login =
command_line.HasSwitch(switches::kSyncInvalidateXmppLogin);
DVLOG_IF(1, notifier_options.invalidate_xmpp_login)
<< "Invalidating sync XMPP login.";
notifier_options.allow_insecure_connection = notifier_options.allow_insecure_connection =
command_line.HasSwitch(switches::kSyncAllowInsecureXmppConnection); command_line.HasSwitch(switches::kSyncAllowInsecureXmppConnection);
DVLOG_IF(1, notifier_options.allow_insecure_connection) DVLOG_IF(1, notifier_options.allow_insecure_connection)
......
...@@ -10,12 +10,6 @@ namespace switches { ...@@ -10,12 +10,6 @@ namespace switches {
// Overrides the default host:port used for notifications. // Overrides the default host:port used for notifications.
const char kSyncNotificationHostPort[] = "sync-notification-host-port"; const char kSyncNotificationHostPort[] = "sync-notification-host-port";
// Tries to connect to XMPP using SSLTCP first (for testing).
const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp";
// Invalidates any login info passed into sync's XMPP connection.
const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login";
// Allows insecure XMPP connections for sync (for testing). // Allows insecure XMPP connections for sync (for testing).
const char kSyncAllowInsecureXmppConnection[] = const char kSyncAllowInsecureXmppConnection[] =
"sync-allow-insecure-xmpp-connection"; "sync-allow-insecure-xmpp-connection";
......
...@@ -9,8 +9,6 @@ namespace invalidation { ...@@ -9,8 +9,6 @@ namespace invalidation {
namespace switches { namespace switches {
extern const char kSyncNotificationHostPort[]; extern const char kSyncNotificationHostPort[];
extern const char kSyncTrySsltcpFirstForXmpp[];
extern const char kSyncInvalidateXmppLogin[];
extern const char kSyncAllowInsecureXmppConnection[]; extern const char kSyncAllowInsecureXmppConnection[];
} // namespace switches } // namespace switches
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment