Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: google_apis/gcm/tools/mcs_probe.cc

Issue 206873006: [GCM] Add port 443 fallback logic and histograms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/gcm/gcm_client_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/tools/mcs_probe.cc
diff --git a/google_apis/gcm/tools/mcs_probe.cc b/google_apis/gcm/tools/mcs_probe.cc
index 48815df589281c12b4134b4133d9accb458d070b..157a73f355f9289f9c6aa312d2d04667b3f7bdf1 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -290,9 +290,12 @@ void MCSProbe::Start() {
file_thread_.Start();
InitializeNetworkState();
BuildNetworkSession();
+ std::vector<GURL> endpoints(1,
+ GURL("https://" +
+ net::HostPortPair(server_host_,
+ server_port_).ToString()));
connection_factory_.reset(
- new ConnectionFactoryImpl(GURL("https://" + net::HostPortPair(
- server_host_, server_port_).ToString()),
+ new ConnectionFactoryImpl(endpoints,
kDefaultBackoffPolicy,
network_session_,
&net_log_));
« no previous file with comments | « google_apis/gcm/gcm_client_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698