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

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

Issue 390533003: Bypassed Bytes UMAs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Addressed bengr comments" 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_protocol.h
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h
index 5598c26acc7f34ff35aa7ad5fb8a8bf6fa9da71e..49b2aba564caa1af575ef5eeb04a735672cbe0be 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "net/proxy/proxy_service.h"
namespace base {
class TimeDelta;
@@ -28,6 +29,7 @@ class DataReductionProxyParams;
// put it on the proxy retry list. Returns true if the request should be
// retried. Sets |override_response_headers| to redirect if so.
bool MaybeBypassProxyAndPrepareToRetry(
+ net::ProxyService::DataReductionProxyBypassType proxy_bypass_type,
const DataReductionProxyParams* params,
net::URLRequest* request,
const net::HttpResponseHeaders* original_response_headers,

Powered by Google App Engine
This is Rietveld 408576698