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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 int group_id, | 118 int group_id, |
119 const GURL& requesting_frame, | 119 const GURL& requesting_frame, |
120 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; | 120 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
121 virtual void CancelProtectedMediaIdentifierPermissionRequests(int group_id) | 121 virtual void CancelProtectedMediaIdentifierPermissionRequests(int group_id) |
122 OVERRIDE; | 122 OVERRIDE; |
123 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 123 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
124 virtual content::DownloadManagerDelegate* | 124 virtual content::DownloadManagerDelegate* |
125 GetDownloadManagerDelegate() OVERRIDE; | 125 GetDownloadManagerDelegate() OVERRIDE; |
126 virtual content::GeolocationPermissionContext* | 126 virtual content::GeolocationPermissionContext* |
127 GetGeolocationPermissionContext() OVERRIDE; | 127 GetGeolocationPermissionContext() OVERRIDE; |
128 virtual content::BrowserPluginGuestManagerDelegate* | 128 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
129 GetGuestManagerDelegate() OVERRIDE; | |
130 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 129 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
131 | 130 |
132 // visitedlink::VisitedLinkDelegate implementation. | 131 // visitedlink::VisitedLinkDelegate implementation. |
133 virtual void RebuildTable( | 132 virtual void RebuildTable( |
134 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; | 133 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; |
135 | 134 |
136 private: | 135 private: |
137 static bool data_reduction_proxy_enabled_; | 136 static bool data_reduction_proxy_enabled_; |
138 | 137 |
139 // The file path where data for this context is persisted. | 138 // The file path where data for this context is persisted. |
(...skipping 15 matching lines...) Expand all Loading... |
155 scoped_ptr<PrefService> user_pref_service_; | 154 scoped_ptr<PrefService> user_pref_service_; |
156 | 155 |
157 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; | 156 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; |
158 | 157 |
159 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 158 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
160 }; | 159 }; |
161 | 160 |
162 } // namespace android_webview | 161 } // namespace android_webview |
163 | 162 |
164 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 163 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |