| OLD | NEW |
| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 content::ProtocolHandlerMap* protocol_handlers, | 80 content::ProtocolHandlerMap* protocol_handlers, |
| 81 content::URLRequestInterceptorScopedVector request_interceptors); | 81 content::URLRequestInterceptorScopedVector request_interceptors); |
| 82 | 82 |
| 83 AwQuotaManagerBridge* GetQuotaManagerBridge(); | 83 AwQuotaManagerBridge* GetQuotaManagerBridge(); |
| 84 | 84 |
| 85 AwFormDatabaseService* GetFormDatabaseService(); | 85 AwFormDatabaseService* GetFormDatabaseService(); |
| 86 | 86 |
| 87 data_reduction_proxy::DataReductionProxySettings* | 87 data_reduction_proxy::DataReductionProxySettings* |
| 88 GetDataReductionProxySettings(); | 88 GetDataReductionProxySettings(); |
| 89 | 89 |
| 90 AwURLRequestContextGetter* GetAwURLRequestContext(); |
| 91 |
| 90 void CreateUserPrefServiceIfNecessary(); | 92 void CreateUserPrefServiceIfNecessary(); |
| 91 | 93 |
| 92 // content::BrowserContext implementation. | 94 // content::BrowserContext implementation. |
| 93 virtual base::FilePath GetPath() const OVERRIDE; | 95 virtual base::FilePath GetPath() const OVERRIDE; |
| 94 virtual bool IsOffTheRecord() const OVERRIDE; | 96 virtual bool IsOffTheRecord() const OVERRIDE; |
| 95 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 97 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 96 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 98 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 97 int renderer_child_id) OVERRIDE; | 99 int renderer_child_id) OVERRIDE; |
| 98 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 100 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 99 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 101 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 data_reduction_proxy_configurator_; | 138 data_reduction_proxy_configurator_; |
| 137 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> | 139 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> |
| 138 data_reduction_proxy_settings_; | 140 data_reduction_proxy_settings_; |
| 139 | 141 |
| 140 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 142 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 141 }; | 143 }; |
| 142 | 144 |
| 143 } // namespace android_webview | 145 } // namespace android_webview |
| 144 | 146 |
| 145 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 147 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |