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

Unified Diff: chrome/browser/net/predictor.cc

Issue 1684123004: Bypass the DataReductionProxy for all POST requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Rebase issue 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
« no previous file with comments | « no previous file | chromeos/dbus/services/proxy_resolution_service_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor.cc
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index 25a309a92a68d06e11ddf253de79a27129a63298..ea20cee694044df5b3569f855985b222196b2416 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -1009,21 +1009,21 @@ void Predictor::LookupFinished(LookupRequest* request, const GURL& url,
info->SetNoSuchNameState();
}
}
bool Predictor::WouldLikelyProxyURL(const GURL& url) {
if (!proxy_service_)
return false;
net::ProxyInfo info;
bool synchronous_success = proxy_service_->TryResolveProxySynchronously(
- url, net::LOAD_NORMAL, &info, NULL, net::BoundNetLog());
+ url, std::string(), net::LOAD_NORMAL, &info, NULL, net::BoundNetLog());
return synchronous_success && !info.is_direct();
}
UrlInfo* Predictor::AppendToResolutionQueue(
const GURL& url,
UrlInfo::ResolutionMotivation motivation) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
DCHECK(url.has_host());
« no previous file with comments | « no previous file | chromeos/dbus/services/proxy_resolution_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698