| 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 <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 void AddVisitedURLs(const std::vector<GURL>& urls); | 80 void AddVisitedURLs(const std::vector<GURL>& urls); |
| 81 | 81 |
| 82 AwQuotaManagerBridge* GetQuotaManagerBridge(); | 82 AwQuotaManagerBridge* GetQuotaManagerBridge(); |
| 83 AwFormDatabaseService* GetFormDatabaseService(); | 83 AwFormDatabaseService* GetFormDatabaseService(); |
| 84 AwURLRequestContextGetter* GetAwURLRequestContext(); | 84 AwURLRequestContextGetter* GetAwURLRequestContext(); |
| 85 | 85 |
| 86 policy::URLBlacklistManager* GetURLBlacklistManager(); | 86 policy::URLBlacklistManager* GetURLBlacklistManager(); |
| 87 web_restrictions::WebRestrictionsClient* GetWebRestrictionProvider(); | 87 web_restrictions::WebRestrictionsClient* GetWebRestrictionProvider(); |
| 88 | 88 |
| 89 // content::BrowserContext implementation. | 89 // content::BrowserContext implementation. |
| 90 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | |
| 91 const base::FilePath& partition_path) override; | |
| 92 base::FilePath GetPath() const override; | 90 base::FilePath GetPath() const override; |
| 93 bool IsOffTheRecord() const override; | 91 bool IsOffTheRecord() const override; |
| 94 content::ResourceContext* GetResourceContext() override; | 92 content::ResourceContext* GetResourceContext() override; |
| 95 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 93 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
| 96 content::BrowserPluginGuestManager* GetGuestManager() override; | 94 content::BrowserPluginGuestManager* GetGuestManager() override; |
| 97 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 95 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
| 98 content::PushMessagingService* GetPushMessagingService() override; | 96 content::PushMessagingService* GetPushMessagingService() override; |
| 99 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 97 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
| 100 content::PermissionManager* GetPermissionManager() override; | 98 content::PermissionManager* GetPermissionManager() override; |
| 101 content::BackgroundSyncController* GetBackgroundSyncController() override; | 99 content::BackgroundSyncController* GetBackgroundSyncController() override; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 scoped_refptr<safe_browsing::RemoteSafeBrowsingDatabaseManager> | 151 scoped_refptr<safe_browsing::RemoteSafeBrowsingDatabaseManager> |
| 154 safe_browsing_db_manager_; | 152 safe_browsing_db_manager_; |
| 155 bool safe_browsing_db_manager_started_ = false; | 153 bool safe_browsing_db_manager_started_ = false; |
| 156 | 154 |
| 157 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 155 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 158 }; | 156 }; |
| 159 | 157 |
| 160 } // namespace android_webview | 158 } // namespace android_webview |
| 161 | 159 |
| 162 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 160 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |