From e3688a2a3262b633d08837e336a0c41f28c72f37 Mon Sep 17 00:00:00 2001 From: "akalin@chromium.org" Date: Tue, 26 Oct 2010 17:28:21 +0000 Subject: [Sync] Added some switches for testing/debugging. Added back in --sync-invalidate-xmpp-login (now, not only in debug mode!). Added --sync-allow-insecure-xmpp-connection, which enables sync to connect to insecure XMPP servers (e.g., a local one). Changed --use-ssl-tcp to --sync-try-ssltcp-first-for-xmpp. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/4158001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63903 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/service/cloud_print/cloud_print_proxy_backend.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/service/cloud_print') diff --git a/chrome/service/cloud_print/cloud_print_proxy_backend.cc b/chrome/service/cloud_print/cloud_print_proxy_backend.cc index ac4e110..38fa3d4 100644 --- a/chrome/service/cloud_print/cloud_print_proxy_backend.cc +++ b/chrome/service/cloud_print/cloud_print_proxy_backend.cc @@ -323,10 +323,12 @@ void CloudPrintProxyBackend::Core::DoInitializeWithToken( const notifier::NotifierOptions kNotifierOptions; const bool kInvalidateXmppAuthToken = false; + const bool kAllowInsecureXmppConnection = false; talk_mediator_.reset(new notifier::TalkMediatorImpl( new notifier::PushNotificationsThread(kNotifierOptions, kCloudPrintPushNotificationsSource), - kInvalidateXmppAuthToken)); + kInvalidateXmppAuthToken, + kAllowInsecureXmppConnection)); push_notifications_channel_ = kCloudPrintPushNotificationsSource; push_notifications_channel_.append("/proxy/"); push_notifications_channel_.append(proxy_id); -- cgit v1.1