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

Unified Diff: android_webview/browser/net/aw_url_request_context_getter.cc

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: android_webview/browser/net/aw_url_request_context_getter.cc
diff --git a/android_webview/browser/net/aw_url_request_context_getter.cc b/android_webview/browser/net/aw_url_request_context_getter.cc
index e0f9013d4e4c0149fbbdb15d834ac044d8ab707b..3366cccef54b1eb8fa5ee13c7f2aeb9ded041025 100644
--- a/android_webview/browser/net/aw_url_request_context_getter.cc
+++ b/android_webview/browser/net/aw_url_request_context_getter.cc
@@ -18,11 +18,11 @@
#include "base/strings/string_number_conversions.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/worker_pool.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_configurator.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h"
+#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
@@ -271,9 +271,9 @@ void AwURLRequestContextGetter::SetHandlersAndInterceptors(
request_interceptors_.swap(request_interceptors);
}
-data_reduction_proxy::DataReductionProxyAuthRequestHandler*
-AwURLRequestContextGetter::GetDataReductionProxyAuthRequestHandler() const {
- return data_reduction_proxy_auth_request_handler_.get();
+data_reduction_proxy::DataReductionProxyRequestOptions*
+AwURLRequestContextGetter::GetDataReductionProxyRequestOptions() const {
+ return data_reduction_proxy_request_options_.get();
}
net::NetLog* AwURLRequestContextGetter::GetNetLog() {
@@ -281,8 +281,8 @@ net::NetLog* AwURLRequestContextGetter::GetNetLog() {
}
void AwURLRequestContextGetter::SetKeyOnIO(const std::string& key) {
- DCHECK(data_reduction_proxy_auth_request_handler_);
- data_reduction_proxy_auth_request_handler_->InitAuthentication(key);
+ DCHECK(data_reduction_proxy_request_options_);
+ data_reduction_proxy_request_options_->InitAuthentication(key);
}
} // namespace android_webview
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.h ('k') | android_webview/native/aw_contents_statics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698