| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 AwFormDatabaseService* GetFormDatabaseService(); | 86 AwFormDatabaseService* GetFormDatabaseService(); |
| 87 | 87 |
| 88 data_reduction_proxy::DataReductionProxySettings* | 88 data_reduction_proxy::DataReductionProxySettings* |
| 89 GetDataReductionProxySettings(); | 89 GetDataReductionProxySettings(); |
| 90 | 90 |
| 91 AwURLRequestContextGetter* GetAwURLRequestContext(); | 91 AwURLRequestContextGetter* GetAwURLRequestContext(); |
| 92 | 92 |
| 93 void CreateUserPrefServiceIfNecessary(); | 93 void CreateUserPrefServiceIfNecessary(); |
| 94 | 94 |
| 95 // content::BrowserContext implementation. | 95 // content::BrowserContext implementation. |
| 96 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( |
| 97 const base::FilePath& partition_path) override; |
| 96 virtual base::FilePath GetPath() const override; | 98 virtual base::FilePath GetPath() const override; |
| 97 virtual bool IsOffTheRecord() const override; | 99 virtual bool IsOffTheRecord() const override; |
| 98 virtual net::URLRequestContextGetter* GetRequestContext() override; | 100 virtual net::URLRequestContextGetter* GetRequestContext() override; |
| 99 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 101 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 100 int renderer_child_id) override; | 102 int renderer_child_id) override; |
| 101 virtual net::URLRequestContextGetter* GetMediaRequestContext() override; | 103 virtual net::URLRequestContextGetter* GetMediaRequestContext() override; |
| 102 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 104 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 103 int renderer_child_id) override; | 105 int renderer_child_id) override; |
| 104 virtual net::URLRequestContextGetter* | 106 virtual net::URLRequestContextGetter* |
| 105 GetMediaRequestContextForStoragePartition( | 107 GetMediaRequestContextForStoragePartition( |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 data_reduction_proxy_statistics_; | 144 data_reduction_proxy_statistics_; |
| 143 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> | 145 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> |
| 144 data_reduction_proxy_settings_; | 146 data_reduction_proxy_settings_; |
| 145 | 147 |
| 146 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 148 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 147 }; | 149 }; |
| 148 | 150 |
| 149 } // namespace android_webview | 151 } // namespace android_webview |
| 150 | 152 |
| 151 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 153 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |