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; | |
133 | 132 |
134 // visitedlink::VisitedLinkDelegate implementation. | 133 // visitedlink::VisitedLinkDelegate implementation. |
135 virtual void RebuildTable( | 134 virtual void RebuildTable( |
136 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; | 135 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; |
137 | 136 |
138 private: | 137 private: |
139 static bool data_reduction_proxy_enabled_; | 138 static bool data_reduction_proxy_enabled_; |
140 | 139 |
141 // The file path where data for this context is persisted. | 140 // The file path where data for this context is persisted. |
142 base::FilePath context_storage_path_; | 141 base::FilePath context_storage_path_; |
(...skipping 14 matching lines...) Expand all Loading... |
157 scoped_ptr<PrefService> user_pref_service_; | 156 scoped_ptr<PrefService> user_pref_service_; |
158 | 157 |
159 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; | 158 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; |
160 | 159 |
161 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 160 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
162 }; | 161 }; |
163 | 162 |
164 } // namespace android_webview | 163 } // namespace android_webview |
165 | 164 |
166 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 165 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |