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/macros.h" | 10 #include "base/macros.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 53 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
54 const base::FilePath& partition_path, | 54 const base::FilePath& partition_path, |
55 bool in_memory) override; | 55 bool in_memory) override; |
56 ResourceContext* GetResourceContext() override; | 56 ResourceContext* GetResourceContext() override; |
57 BrowserPluginGuestManager* GetGuestManager() override; | 57 BrowserPluginGuestManager* GetGuestManager() override; |
58 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 58 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
59 PushMessagingService* GetPushMessagingService() override; | 59 PushMessagingService* GetPushMessagingService() override; |
60 SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 60 SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
61 PermissionManager* GetPermissionManager() override; | 61 PermissionManager* GetPermissionManager() override; |
62 BackgroundSyncController* GetBackgroundSyncController() override; | 62 BackgroundSyncController* GetBackgroundSyncController() override; |
| 63 ChooserPermissionManager* GetChooserPermissionManager() override; |
63 | 64 |
64 net::URLRequestContextGetter* CreateRequestContext( | 65 net::URLRequestContextGetter* CreateRequestContext( |
65 ProtocolHandlerMap* protocol_handlers, | 66 ProtocolHandlerMap* protocol_handlers, |
66 URLRequestInterceptorScopedVector request_interceptors); | 67 URLRequestInterceptorScopedVector request_interceptors); |
67 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 68 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
68 const base::FilePath& partition_path, | 69 const base::FilePath& partition_path, |
69 bool in_memory, | 70 bool in_memory, |
70 ProtocolHandlerMap* protocol_handlers, | 71 ProtocolHandlerMap* protocol_handlers, |
71 URLRequestInterceptorScopedVector request_interceptors); | 72 URLRequestInterceptorScopedVector request_interceptors); |
72 | 73 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 base::FilePath path_; | 124 base::FilePath path_; |
124 BrowserPluginGuestManager* guest_manager_; | 125 BrowserPluginGuestManager* guest_manager_; |
125 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 126 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
126 | 127 |
127 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 128 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
128 }; | 129 }; |
129 | 130 |
130 } // namespace content | 131 } // namespace content |
131 | 132 |
132 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 133 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
OLD | NEW |