diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.cc')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.cc | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index ddaff62..768f950 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -274,14 +274,19 @@ void ProfileSyncService::InitSettings() { notifier_options_.xmpp_host_port.set_host(value); notifier_options_.xmpp_host_port.set_port(notifier::kDefaultXmppPort); } - LOG(INFO) << "Using " << notifier_options_.xmpp_host_port.ToString() + VLOG(1) << "Using " << notifier_options_.xmpp_host_port.ToString() << " for test sync notification server."; } - notifier_options_.try_ssltcp_first = - command_line.HasSwitch(switches::kSyncUseSslTcp); - if (notifier_options_.try_ssltcp_first) { - LOG(INFO) << "Trying SSL/TCP port before XMPP port for notifications."; + notifier_options_.invalidate_xmpp_login = + command_line.HasSwitch(switches::kSyncInvalidateXmppLogin); + if (notifier_options_.invalidate_xmpp_login) { + VLOG(1) << "Invalidating sync XMPP login."; + } + notifier_options_.allow_insecure_connection = + command_line.HasSwitch(switches::kSyncAllowInsecureXmppConnection); + if (notifier_options_.allow_insecure_connection) { + VLOG(1) << "Allowing insecure XMPP connections."; } if (command_line.HasSwitch(switches::kSyncNotificationMethod)) { @@ -388,7 +393,7 @@ void ProfileSyncService::CreateBackend() { void ProfileSyncService::StartUp() { // Don't start up multiple times. if (backend_.get()) { - LOG(INFO) << "Skipping bringing up backend host."; + VLOG(1) << "Skipping bringing up backend host."; return; } |