summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/syncapi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/engine/syncapi.cc')
-rw-r--r--chrome/browser/sync/engine/syncapi.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/sync/engine/syncapi.cc b/chrome/browser/sync/engine/syncapi.cc
index 67bccec..0c8b706 100644
--- a/chrome/browser/sync/engine/syncapi.cc
+++ b/chrome/browser/sync/engine/syncapi.cc
@@ -1497,11 +1497,16 @@ void SyncManager::SyncInternal::InitializeTalkMediator() {
new sync_notifier::ServerNotifierThread(
notifier_options_, state, this);
talk_mediator_.reset(
- new TalkMediatorImpl(server_notifier_thread, false));
+ new TalkMediatorImpl(server_notifier_thread,
+ notifier_options_.invalidate_xmpp_login,
+ notifier_options_.allow_insecure_connection));
} else {
notifier::MediatorThread* mediator_thread =
new notifier::MediatorThreadImpl(notifier_options_);
- talk_mediator_.reset(new TalkMediatorImpl(mediator_thread, false));
+ talk_mediator_.reset(
+ new TalkMediatorImpl(mediator_thread,
+ notifier_options_.invalidate_xmpp_login,
+ notifier_options_.allow_insecure_connection));
if (notifier_options_.notification_method !=
notifier::NOTIFICATION_LEGACY) {
if (notifier_options_.notification_method ==