| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 int render_process_id, | 92 int render_process_id, |
| 93 int render_view_id, | 93 int render_view_id, |
| 94 int bridge_id, | 94 int bridge_id, |
| 95 const GURL& requesting_frame, | 95 const GURL& requesting_frame, |
| 96 const MIDISysExPermissionCallback& callback) OVERRIDE; | 96 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 97 virtual void CancelMIDISysExPermissionRequest( | 97 virtual void CancelMIDISysExPermissionRequest( |
| 98 int render_process_id, | 98 int render_process_id, |
| 99 int render_view_id, | 99 int render_view_id, |
| 100 int bridge_id, | 100 int bridge_id, |
| 101 const GURL& requesting_frame) OVERRIDE; | 101 const GURL& requesting_frame) OVERRIDE; |
| 102 virtual void RequestProtectedMediaIdentifierPermission( |
| 103 int render_process_id, |
| 104 int render_view_id, |
| 105 int bridge_id, |
| 106 int group_id, |
| 107 const GURL& requesting_frame, |
| 108 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
| 109 virtual void CancelProtectedMediaIdentifierPermissionRequests(int group_id) |
| 110 OVERRIDE; |
| 102 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 111 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 103 virtual content::DownloadManagerDelegate* | 112 virtual content::DownloadManagerDelegate* |
| 104 GetDownloadManagerDelegate() OVERRIDE; | 113 GetDownloadManagerDelegate() OVERRIDE; |
| 105 virtual content::GeolocationPermissionContext* | 114 virtual content::GeolocationPermissionContext* |
| 106 GetGeolocationPermissionContext() OVERRIDE; | 115 GetGeolocationPermissionContext() OVERRIDE; |
| 107 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 116 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 108 | 117 |
| 109 // visitedlink::VisitedLinkDelegate implementation. | 118 // visitedlink::VisitedLinkDelegate implementation. |
| 110 virtual void RebuildTable( | 119 virtual void RebuildTable( |
| 111 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; | 120 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 128 scoped_ptr<content::ResourceContext> resource_context_; | 137 scoped_ptr<content::ResourceContext> resource_context_; |
| 129 | 138 |
| 130 scoped_ptr<PrefService> user_pref_service_; | 139 scoped_ptr<PrefService> user_pref_service_; |
| 131 | 140 |
| 132 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 141 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 133 }; | 142 }; |
| 134 | 143 |
| 135 } // namespace android_webview | 144 } // namespace android_webview |
| 136 | 145 |
| 137 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 146 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |