| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 41 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 42 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 42 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 43 int renderer_child_id) OVERRIDE; | 43 int renderer_child_id) OVERRIDE; |
| 44 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 44 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 45 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 45 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 46 int renderer_child_id) OVERRIDE; | 46 int renderer_child_id) OVERRIDE; |
| 47 virtual net::URLRequestContextGetter* | 47 virtual net::URLRequestContextGetter* |
| 48 GetMediaRequestContextForStoragePartition( | 48 GetMediaRequestContextForStoragePartition( |
| 49 const base::FilePath& partition_path, | 49 const base::FilePath& partition_path, |
| 50 bool in_memory) OVERRIDE; | 50 bool in_memory) OVERRIDE; |
| 51 virtual void RequestMidiSysExPermission( | |
| 52 int render_process_id, | |
| 53 int render_view_id, | |
| 54 int bridge_id, | |
| 55 const GURL& requesting_frame, | |
| 56 bool user_gesture, | |
| 57 const MidiSysExPermissionCallback& callback) OVERRIDE; | |
| 58 virtual void CancelMidiSysExPermissionRequest( | |
| 59 int render_process_id, | |
| 60 int render_view_id, | |
| 61 int bridge_id, | |
| 62 const GURL& requesting_frame) OVERRIDE; | |
| 63 virtual void RequestProtectedMediaIdentifierPermission( | 51 virtual void RequestProtectedMediaIdentifierPermission( |
| 64 int render_process_id, | 52 int render_process_id, |
| 65 int render_view_id, | 53 int render_view_id, |
| 66 const GURL& origin, | 54 const GURL& origin, |
| 67 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; | 55 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
| 68 virtual void CancelProtectedMediaIdentifierPermissionRequests( | 56 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
| 69 int render_process_id, | 57 int render_process_id, |
| 70 int render_view_id, | 58 int render_view_id, |
| 71 const GURL& origin) OVERRIDE; | 59 const GURL& origin) OVERRIDE; |
| 72 virtual ResourceContext* GetResourceContext() OVERRIDE; | 60 virtual ResourceContext* GetResourceContext() OVERRIDE; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 98 scoped_ptr<ShellResourceContext> resource_context_; | 86 scoped_ptr<ShellResourceContext> resource_context_; |
| 99 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 87 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; |
| 100 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 88 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
| 101 | 89 |
| 102 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 90 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 103 }; | 91 }; |
| 104 | 92 |
| 105 } // namespace content | 93 } // namespace content |
| 106 | 94 |
| 107 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 95 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |