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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 const base::FilePath& partition_path, | 125 const base::FilePath& partition_path, |
126 bool in_memory) override; | 126 bool in_memory) override; |
127 content::ResourceContext* GetResourceContext() override; | 127 content::ResourceContext* GetResourceContext() override; |
128 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 128 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
129 content::BrowserPluginGuestManager* GetGuestManager() override; | 129 content::BrowserPluginGuestManager* GetGuestManager() override; |
130 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 130 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
131 content::PushMessagingService* GetPushMessagingService() override; | 131 content::PushMessagingService* GetPushMessagingService() override; |
132 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 132 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
133 content::PermissionManager* GetPermissionManager() override; | 133 content::PermissionManager* GetPermissionManager() override; |
134 content::BackgroundSyncController* GetBackgroundSyncController() override; | 134 content::BackgroundSyncController* GetBackgroundSyncController() override; |
| 135 content::ChooserPermissionManager* GetChooserPermissionManager() override; |
135 | 136 |
136 // visitedlink::VisitedLinkDelegate implementation. | 137 // visitedlink::VisitedLinkDelegate implementation. |
137 void RebuildTable(const scoped_refptr<URLEnumerator>& enumerator) override; | 138 void RebuildTable(const scoped_refptr<URLEnumerator>& enumerator) override; |
138 | 139 |
139 private: | 140 private: |
140 void InitUserPrefService(); | 141 void InitUserPrefService(); |
141 void CreateDataReductionProxyStatisticsIfNecessary(); | 142 void CreateDataReductionProxyStatisticsIfNecessary(); |
142 static bool data_reduction_proxy_enabled_; | 143 static bool data_reduction_proxy_enabled_; |
143 | 144 |
144 // Delay, in milliseconds, before removing the legacy cache dir. | 145 // Delay, in milliseconds, before removing the legacy cache dir. |
(...skipping 27 matching lines...) Expand all Loading... |
172 scoped_ptr<data_reduction_proxy::DataReductionProxyService> | 173 scoped_ptr<data_reduction_proxy::DataReductionProxyService> |
173 data_reduction_proxy_service_; | 174 data_reduction_proxy_service_; |
174 scoped_ptr<content::PermissionManager> permission_manager_; | 175 scoped_ptr<content::PermissionManager> permission_manager_; |
175 | 176 |
176 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 177 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
177 }; | 178 }; |
178 | 179 |
179 } // namespace android_webview | 180 } // namespace android_webview |
180 | 181 |
181 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 182 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |