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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual bool IsOffTheRecord() const OVERRIDE; | 79 virtual bool IsOffTheRecord() const OVERRIDE; |
80 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 80 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
81 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 81 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
82 int renderer_child_id) OVERRIDE; | 82 int renderer_child_id) OVERRIDE; |
83 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 83 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
84 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 84 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
85 int renderer_child_id) OVERRIDE; | 85 int renderer_child_id) OVERRIDE; |
86 virtual net::URLRequestContextGetter* | 86 virtual net::URLRequestContextGetter* |
87 GetMediaRequestContextForStoragePartition( | 87 GetMediaRequestContextForStoragePartition( |
88 const base::FilePath& partition_path, bool in_memory) OVERRIDE; | 88 const base::FilePath& partition_path, bool in_memory) OVERRIDE; |
| 89 virtual void RequestMIDISysExPermission( |
| 90 int render_process_id, |
| 91 int render_view_id, |
| 92 const GURL& requesting_frame, |
| 93 const MIDISysExPermissionCallback& callback) OVERRIDE; |
89 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 94 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
90 virtual content::DownloadManagerDelegate* | 95 virtual content::DownloadManagerDelegate* |
91 GetDownloadManagerDelegate() OVERRIDE; | 96 GetDownloadManagerDelegate() OVERRIDE; |
92 virtual content::GeolocationPermissionContext* | 97 virtual content::GeolocationPermissionContext* |
93 GetGeolocationPermissionContext() OVERRIDE; | 98 GetGeolocationPermissionContext() OVERRIDE; |
94 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 99 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
95 | 100 |
96 // visitedlink::VisitedLinkDelegate implementation. | 101 // visitedlink::VisitedLinkDelegate implementation. |
97 virtual void RebuildTable( | 102 virtual void RebuildTable( |
98 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; | 103 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
114 scoped_ptr<content::ResourceContext> resource_context_; | 119 scoped_ptr<content::ResourceContext> resource_context_; |
115 | 120 |
116 bool user_pref_service_ready_; | 121 bool user_pref_service_ready_; |
117 | 122 |
118 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 123 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
119 }; | 124 }; |
120 | 125 |
121 } // namespace android_webview | 126 } // namespace android_webview |
122 | 127 |
123 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 128 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |