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

Unified Diff: chrome/browser/net/spdyproxy/proxy_advisor.cc

Issue 139553004: Remove extra slash from proxy-preconnect path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auth401
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/spdyproxy/proxy_advisor.cc
diff --git a/chrome/browser/net/spdyproxy/proxy_advisor.cc b/chrome/browser/net/spdyproxy/proxy_advisor.cc
index a8ddec19dc4434ccc2d3523c8d06aa95b55a7d84..9d325deb0c60f1f122ee09a16fd6c03b406f3f80 100644
--- a/chrome/browser/net/spdyproxy/proxy_advisor.cc
+++ b/chrome/browser/net/spdyproxy/proxy_advisor.cc
@@ -117,8 +117,7 @@ void ProxyAdvisor::Advise(
std::string header_value = motivation_name + " " + url.spec();
net::URLRequestContext* context = context_getter_->GetURLRequestContext();
std::string endpoint =
- DataReductionProxySettings::GetDataReductionProxyOrigin();
- endpoint += "/preconnect";
+ DataReductionProxySettings::GetDataReductionProxyOrigin() + "preconnect";
scoped_ptr<net::URLRequest> request = context->CreateRequest(
GURL(endpoint), net::DEFAULT_PRIORITY, this);
request->set_method("HEAD");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698