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