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