Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index c352dce9842ee6df4d660362cbfd5d6ca4beae3f..2cf676e844658c064ed7acb8f461e951f433c406 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -278,6 +278,12 @@ void ProfileSyncService::InitSettings() { |
<< " for test sync notification server."; |
} |
+ notifier_options_.use_chrome_async_socket = |
+ !command_line.HasSwitch(switches::kSyncDisableChromeAsyncSocket); |
+ if (notifier_options_.use_chrome_async_socket) { |
+ LOG(INFO) << "Using ChromeAsyncSocket"; |
+ } |
+ |
notifier_options_.try_ssltcp_first = |
command_line.HasSwitch(switches::kSyncUseSslTcp); |
if (notifier_options_.try_ssltcp_first) { |