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 int client_id, |
| 93 const GURL& requesting_frame, |
| 94 const MIDISysExPermissionCallback& callback) OVERRIDE; |
89 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 95 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
90 virtual content::DownloadManagerDelegate* | 96 virtual content::DownloadManagerDelegate* |
91 GetDownloadManagerDelegate() OVERRIDE; | 97 GetDownloadManagerDelegate() OVERRIDE; |
92 virtual content::GeolocationPermissionContext* | 98 virtual content::GeolocationPermissionContext* |
93 GetGeolocationPermissionContext() OVERRIDE; | 99 GetGeolocationPermissionContext() OVERRIDE; |
94 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 100 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
95 | 101 |
96 // visitedlink::VisitedLinkDelegate implementation. | 102 // visitedlink::VisitedLinkDelegate implementation. |
97 virtual void RebuildTable( | 103 virtual void RebuildTable( |
98 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; | 104 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
114 scoped_ptr<content::ResourceContext> resource_context_; | 120 scoped_ptr<content::ResourceContext> resource_context_; |
115 | 121 |
116 bool user_pref_service_ready_; | 122 bool user_pref_service_ready_; |
117 | 123 |
118 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 124 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
119 }; | 125 }; |
120 | 126 |
121 } // namespace android_webview | 127 } // namespace android_webview |
122 | 128 |
123 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 129 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |