| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 virtual void RequestProtectedMediaIdentifierPermission( | 63 virtual void RequestProtectedMediaIdentifierPermission( |
| 64 int render_process_id, | 64 int render_process_id, |
| 65 int render_view_id, | 65 int render_view_id, |
| 66 const GURL& origin, | 66 const GURL& origin, |
| 67 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; | 67 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
| 68 virtual void CancelProtectedMediaIdentifierPermissionRequests( | 68 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
| 69 int render_process_id, | 69 int render_process_id, |
| 70 int render_view_id, | 70 int render_view_id, |
| 71 const GURL& origin) OVERRIDE; | 71 const GURL& origin) OVERRIDE; |
| 72 virtual ResourceContext* GetResourceContext() OVERRIDE; | 72 virtual ResourceContext* GetResourceContext() OVERRIDE; |
| 73 virtual GeolocationPermissionContext* | |
| 74 GetGeolocationPermissionContext() OVERRIDE; | |
| 75 virtual BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 73 virtual BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 76 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 74 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 77 virtual PushMessagingService* GetPushMessagingService() OVERRIDE; | 75 virtual PushMessagingService* GetPushMessagingService() OVERRIDE; |
| 78 | 76 |
| 79 net::URLRequestContextGetter* CreateRequestContext( | 77 net::URLRequestContextGetter* CreateRequestContext( |
| 80 ProtocolHandlerMap* protocol_handlers, | 78 ProtocolHandlerMap* protocol_handlers, |
| 81 URLRequestInterceptorScopedVector request_interceptors); | 79 URLRequestInterceptorScopedVector request_interceptors); |
| 82 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 80 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 83 const base::FilePath& partition_path, | 81 const base::FilePath& partition_path, |
| 84 bool in_memory, | 82 bool in_memory, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 100 scoped_ptr<ShellResourceContext> resource_context_; | 98 scoped_ptr<ShellResourceContext> resource_context_; |
| 101 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 99 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; |
| 102 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 100 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
| 103 | 101 |
| 104 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 102 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 105 }; | 103 }; |
| 106 | 104 |
| 107 } // namespace content | 105 } // namespace content |
| 108 | 106 |
| 109 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 107 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |