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

Unified Diff: android_webview/browser/aw_browser_context.h

Issue 333113002: Move data reduction proxy to Chrome-Proxy header for authentication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@flywheel-refactor-net-fake-a-redirect-response-headers-chrome-proxy-auth
Patch Set: errata Created 6 years, 6 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
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_context.h
diff --git a/android_webview/browser/aw_browser_context.h b/android_webview/browser/aw_browser_context.h
index 11ba3b26281961f3c00cf7b3b5d2bd1919f56fca..6f8e9fb2c2e496055fa6ce736d6db9e76d6d7fad 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -27,6 +27,7 @@ class WebContents;
}
namespace data_reduction_proxy {
+class DataReductionProxyAuthRequestHandler;
class DataReductionProxySettings;
}
@@ -38,6 +39,7 @@ namespace visitedlink {
class VisitedLinkMaster;
}
+using data_reduction_proxy::DataReductionProxyAuthRequestHandler;
using data_reduction_proxy::DataReductionProxySettings;
namespace android_webview {
@@ -86,6 +88,9 @@ class AwBrowserContext : public content::BrowserContext,
DataReductionProxySettings* GetDataReductionProxySettings();
+ DataReductionProxyAuthRequestHandler*
+ GetDataReductionProxyAuthRequestHandler();
+
void CreateUserPrefServiceIfNecessary();
// content::BrowserContext implementation.
@@ -131,6 +136,8 @@ class AwBrowserContext : public content::BrowserContext,
scoped_ptr<PrefService> user_pref_service_;
scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_;
+ scoped_ptr<DataReductionProxyAuthRequestHandler>
+ data_reduction_proxy_auth_request_handler_;
DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
};
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698