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

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: 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_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 03c2a8f100b8f47f09b75faea15d7cde7a6eca5a..fb7de076f1ed9764d8f9ec7b5ac263454c03ed5e 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;
@@ -29,6 +30,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,
bengr 2014/07/16 01:40:10 Explain in the comment what this new paramater is
megjablon 2014/07/16 23:07:14 Done.
const DataReductionProxyParams* params,
net::URLRequest* request,
const net::HttpResponseHeaders* original_response_headers,

Powered by Google App Engine
This is Rietveld 408576698