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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 int render_process_id, | 122 int render_process_id, |
123 int render_view_id, | 123 int render_view_id, |
124 const GURL& origin) OVERRIDE; | 124 const GURL& origin) OVERRIDE; |
125 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 125 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
126 virtual content::DownloadManagerDelegate* | 126 virtual content::DownloadManagerDelegate* |
127 GetDownloadManagerDelegate() OVERRIDE; | 127 GetDownloadManagerDelegate() OVERRIDE; |
128 virtual content::GeolocationPermissionContext* | 128 virtual content::GeolocationPermissionContext* |
129 GetGeolocationPermissionContext() OVERRIDE; | 129 GetGeolocationPermissionContext() OVERRIDE; |
130 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 130 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
131 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 131 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 132 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
132 | 133 |
133 // visitedlink::VisitedLinkDelegate implementation. | 134 // visitedlink::VisitedLinkDelegate implementation. |
134 virtual void RebuildTable( | 135 virtual void RebuildTable( |
135 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; | 136 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; |
136 | 137 |
137 private: | 138 private: |
138 static bool data_reduction_proxy_enabled_; | 139 static bool data_reduction_proxy_enabled_; |
139 | 140 |
140 // The file path where data for this context is persisted. | 141 // The file path where data for this context is persisted. |
141 base::FilePath context_storage_path_; | 142 base::FilePath context_storage_path_; |
(...skipping 14 matching lines...) Expand all Loading... |
156 scoped_ptr<PrefService> user_pref_service_; | 157 scoped_ptr<PrefService> user_pref_service_; |
157 | 158 |
158 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; | 159 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; |
159 | 160 |
160 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 161 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
161 }; | 162 }; |
162 | 163 |
163 } // namespace android_webview | 164 } // namespace android_webview |
164 | 165 |
165 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 166 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |