| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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* | 73 virtual GeolocationPermissionContext* |
| 74 GetGeolocationPermissionContext() OVERRIDE; | 74 GetGeolocationPermissionContext() OVERRIDE; |
| 75 virtual BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 75 virtual BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 76 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 76 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 77 virtual PushMessagingService* GetPushMessagingService() OVERRIDE; | |
| 78 | 77 |
| 79 net::URLRequestContextGetter* CreateRequestContext( | 78 net::URLRequestContextGetter* CreateRequestContext( |
| 80 ProtocolHandlerMap* protocol_handlers, | 79 ProtocolHandlerMap* protocol_handlers, |
| 81 URLRequestInterceptorScopedVector request_interceptors); | 80 URLRequestInterceptorScopedVector request_interceptors); |
| 82 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 81 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 83 const base::FilePath& partition_path, | 82 const base::FilePath& partition_path, |
| 84 bool in_memory, | 83 bool in_memory, |
| 85 ProtocolHandlerMap* protocol_handlers, | 84 ProtocolHandlerMap* protocol_handlers, |
| 86 URLRequestInterceptorScopedVector request_interceptors); | 85 URLRequestInterceptorScopedVector request_interceptors); |
| 87 | 86 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 100 scoped_ptr<ShellResourceContext> resource_context_; | 99 scoped_ptr<ShellResourceContext> resource_context_; |
| 101 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 100 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; |
| 102 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 101 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
| 103 | 102 |
| 104 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 103 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 105 }; | 104 }; |
| 106 | 105 |
| 107 } // namespace content | 106 } // namespace content |
| 108 | 107 |
| 109 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 108 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |