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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h

Issue 791493015: Adding q=low to the Chrome-Proxy request header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase test fixes Created 5 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h
index c803627686eec027f00d567777efa0125742f98c..53c33089ea5540699acd50bf396348049c90a4c8 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h
@@ -5,7 +5,7 @@
#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_DELEGATE_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_DELEGATE_H_
-#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.h"
+#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h"
#include "net/base/proxy_delegate.h"
#include "url/gurl.h"
@@ -21,14 +21,14 @@ class URLRequest;
namespace data_reduction_proxy {
-class DataReductionProxyAuthRequestHandler;
+class DataReductionProxyRequestOptions;
class DataReductionProxyDelegate : public net::ProxyDelegate {
public:
// ProxyDelegate instance is owned by io_thread. |auth_handler| and |params|
// outlives this class instance.
explicit DataReductionProxyDelegate(
- DataReductionProxyAuthRequestHandler* auth_handler,
+ DataReductionProxyRequestOptions* request_options,
DataReductionProxyParams* params);
~DataReductionProxyDelegate() override;
@@ -57,7 +57,7 @@ class DataReductionProxyDelegate : public net::ProxyDelegate {
const net::HttpResponseHeaders& response_headers) override;
private:
- DataReductionProxyAuthRequestHandler* auth_handler_;
+ DataReductionProxyRequestOptions* request_options_;
const DataReductionProxyParams* params_;
DISALLOW_COPY_AND_ASSIGN(DataReductionProxyDelegate);

Powered by Google App Engine
This is Rietveld 408576698