| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual bool IsOffTheRecord() const OVERRIDE; | 81 virtual bool IsOffTheRecord() const OVERRIDE; |
| 82 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 82 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 83 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 83 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 84 int renderer_child_id) OVERRIDE; | 84 int renderer_child_id) OVERRIDE; |
| 85 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 85 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 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 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( | 102 virtual void RequestProtectedMediaIdentifierPermission( |
| 103 int render_process_id, | 103 int render_process_id, |
| 104 int render_view_id, | 104 int render_view_id, |
| 105 int bridge_id, | 105 int bridge_id, |
| 106 int group_id, | 106 int group_id, |
| 107 const GURL& requesting_frame, | 107 const GURL& requesting_frame, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 137 scoped_ptr<content::ResourceContext> resource_context_; | 137 scoped_ptr<content::ResourceContext> resource_context_; |
| 138 | 138 |
| 139 scoped_ptr<PrefService> user_pref_service_; | 139 scoped_ptr<PrefService> user_pref_service_; |
| 140 | 140 |
| 141 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 141 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } // namespace android_webview | 144 } // namespace android_webview |
| 145 | 145 |
| 146 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 146 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |