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

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 294023015: Hook up request interceptors in AndroidWebView code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "android_webview/browser/aw_download_manager_delegate.h" 10 #include "android_webview/browser/aw_download_manager_delegate.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 static void SetDataReductionProxyEnabled(bool enabled); 67 static void SetDataReductionProxyEnabled(bool enabled);
68 68
69 // Maps to BrowserMainParts::PreMainMessageLoopRun. 69 // Maps to BrowserMainParts::PreMainMessageLoopRun.
70 void PreMainMessageLoopRun(); 70 void PreMainMessageLoopRun();
71 71
72 // These methods map to Add methods in visitedlink::VisitedLinkMaster. 72 // These methods map to Add methods in visitedlink::VisitedLinkMaster.
73 void AddVisitedURLs(const std::vector<GURL>& urls); 73 void AddVisitedURLs(const std::vector<GURL>& urls);
74 74
75 net::URLRequestContextGetter* CreateRequestContext( 75 net::URLRequestContextGetter* CreateRequestContext(
76 content::ProtocolHandlerMap* protocol_handlers); 76 content::ProtocolHandlerMap* protocol_handlers,
77 content::URLRequestInterceptorScopedVector request_interceptors);
77 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 78 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
78 const base::FilePath& partition_path, 79 const base::FilePath& partition_path,
79 bool in_memory, 80 bool in_memory,
80 content::ProtocolHandlerMap* protocol_handlers); 81 content::ProtocolHandlerMap* protocol_handlers,
82 content::URLRequestInterceptorScopedVector request_interceptors);
81 83
82 AwQuotaManagerBridge* GetQuotaManagerBridge(); 84 AwQuotaManagerBridge* GetQuotaManagerBridge();
83 85
84 AwFormDatabaseService* GetFormDatabaseService(); 86 AwFormDatabaseService* GetFormDatabaseService();
85 87
86 DataReductionProxySettings* GetDataReductionProxySettings(); 88 DataReductionProxySettings* GetDataReductionProxySettings();
87 89
88 void CreateUserPrefServiceIfNecessary(); 90 void CreateUserPrefServiceIfNecessary();
89 91
90 // content::BrowserContext implementation. 92 // content::BrowserContext implementation.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 scoped_ptr<PrefService> user_pref_service_; 156 scoped_ptr<PrefService> user_pref_service_;
155 157
156 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; 158 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_;
157 159
158 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 160 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
159 }; 161 };
160 162
161 } // namespace android_webview 163 } // namespace android_webview
162 164
163 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 165 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« 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