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

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_params.h

Issue 390533003: Bypassed Bytes UMAs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed logging and fixed MaybeBypassProxyAndPrepareToRetry Created 6 years, 5 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: components/data_reduction_proxy/browser/data_reduction_proxy_params.h
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
index 7a8e9f4c9154f8d0e2dce7ad440516dc6b601b51..6cc893e878b509d5786bc5455f6a4d887c4f6d03 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
@@ -92,6 +92,10 @@ class DataReductionProxyParams {
// list.
virtual bool IsDataReductionProxyEligible(const net::URLRequest* request);
+ // Returns true if the request is bypassed by all configured data reduction
bengr 2014/07/16 01:40:10 Before more specific. Does this return true if and
megjablon 2014/07/16 23:07:14 Done.
+ // proxies.
+ bool WereDataReductionProxiesBypassed(const net::URLRequest* request) const;
+
// Returns the data reduction proxy primary origin.
const GURL& origin() const {
return origin_;

Powered by Google App Engine
This is Rietveld 408576698