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

Unified Diff: content/browser/resolve_proxy_msg_helper.cc

Issue 1684123004: Bypass the DataReductionProxy for all POST requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resubmitting with upstream branch set to branch from issue 1680893002 Created 4 years, 10 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
Index: content/browser/resolve_proxy_msg_helper.cc
diff --git a/content/browser/resolve_proxy_msg_helper.cc b/content/browser/resolve_proxy_msg_helper.cc
index e189f1c83d3bd323dad707c38bad19d42c538f1c..53cc44df71b056a60d3c3b4d4a51b8ba605cbc75 100644
--- a/content/browser/resolve_proxy_msg_helper.cc
+++ b/content/browser/resolve_proxy_msg_helper.cc
@@ -88,18 +88,18 @@ void ResolveProxyMsgHelper::StartPendingRequest() {
if (context_getter_.get()) {
proxy_service_ = context_getter_->GetURLRequestContext()->proxy_service();
context_getter_ = NULL;
}
// Start the request.
int result = proxy_service_->ResolveProxy(
req.url, net::LOAD_NORMAL, &proxy_info_,
base::Bind(&ResolveProxyMsgHelper::OnResolveProxyCompleted,
base::Unretained(this)),
- &req.pac_req, NULL, net::BoundNetLog());
+ &req.pac_req, nullptr, "", net::BoundNetLog());
bengr 2016/02/16 20:00:13 NULL and std::string()
RyanSturm 2016/02/17 21:46:11 Done.
// Completed synchronously.
if (result != net::ERR_IO_PENDING)
OnResolveProxyCompleted(result);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698