| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 86 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 87 int renderer_child_id) OVERRIDE; | 87 int renderer_child_id) OVERRIDE; |
| 88 virtual net::URLRequestContextGetter* | 88 virtual net::URLRequestContextGetter* |
| 89 GetMediaRequestContextForStoragePartition( | 89 GetMediaRequestContextForStoragePartition( |
| 90 const base::FilePath& partition_path, bool in_memory) OVERRIDE; | 90 const base::FilePath& partition_path, bool in_memory) OVERRIDE; |
| 91 virtual void RequestMidiSysExPermission( | 91 virtual void RequestMidiSysExPermission( |
| 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 bool user_gesture, |
| 96 const MidiSysExPermissionCallback& callback) OVERRIDE; | 97 const MidiSysExPermissionCallback& callback) OVERRIDE; |
| 97 virtual void CancelMidiSysExPermissionRequest( | 98 virtual void CancelMidiSysExPermissionRequest( |
| 98 int render_process_id, | 99 int render_process_id, |
| 99 int render_view_id, | 100 int render_view_id, |
| 100 int bridge_id, | 101 int bridge_id, |
| 101 const GURL& requesting_frame) OVERRIDE; | 102 const GURL& requesting_frame) OVERRIDE; |
| 102 virtual void RequestProtectedMediaIdentifierPermission( | 103 virtual void RequestProtectedMediaIdentifierPermission( |
| 103 int render_process_id, | 104 int render_process_id, |
| 104 int render_view_id, | 105 int render_view_id, |
| 105 int bridge_id, | 106 int bridge_id, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 scoped_ptr<content::ResourceContext> resource_context_; | 138 scoped_ptr<content::ResourceContext> resource_context_; |
| 138 | 139 |
| 139 scoped_ptr<PrefService> user_pref_service_; | 140 scoped_ptr<PrefService> user_pref_service_; |
| 140 | 141 |
| 141 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 142 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 } // namespace android_webview | 145 } // namespace android_webview |
| 145 | 146 |
| 146 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 147 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |