summaryrefslogtreecommitdiffstats
path: root/chrome/service/cloud_print
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 17:28:21 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 17:28:21 +0000
commite3688a2a3262b633d08837e336a0c41f28c72f37 (patch)
treea15bb77432383bd8b7631efa8bafa5abe67d0f02 /chrome/service/cloud_print
parente3f589a8ff35b87a387f17bf002cb81041c45a43 (diff)
downloadchromium_src-e3688a2a3262b633d08837e336a0c41f28c72f37.zip
chromium_src-e3688a2a3262b633d08837e336a0c41f28c72f37.tar.gz
chromium_src-e3688a2a3262b633d08837e336a0c41f28c72f37.tar.bz2
[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
Diffstat (limited to 'chrome/service/cloud_print')
-rw-r--r--chrome/service/cloud_print/cloud_print_proxy_backend.cc4
1 files changed, 3 insertions, 1 deletions
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);