OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ | 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ |
6 #define HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ | 6 #define HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <unordered_map> | 10 #include <unordered_map> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 base::FilePath GetPath() const override; | 57 base::FilePath GetPath() const override; |
58 bool IsOffTheRecord() const override; | 58 bool IsOffTheRecord() const override; |
59 content::ResourceContext* GetResourceContext() override; | 59 content::ResourceContext* GetResourceContext() override; |
60 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 60 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
61 content::BrowserPluginGuestManager* GetGuestManager() override; | 61 content::BrowserPluginGuestManager* GetGuestManager() override; |
62 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 62 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
63 content::PushMessagingService* GetPushMessagingService() override; | 63 content::PushMessagingService* GetPushMessagingService() override; |
64 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 64 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
65 content::PermissionManager* GetPermissionManager() override; | 65 content::PermissionManager* GetPermissionManager() override; |
66 content::BackgroundSyncController* GetBackgroundSyncController() override; | 66 content::BackgroundSyncController* GetBackgroundSyncController() override; |
| 67 content::BrowsingDataRemoverDelegate* GetBrowsingDataRemoverDelegate() |
| 68 override; |
67 net::URLRequestContextGetter* CreateRequestContext( | 69 net::URLRequestContextGetter* CreateRequestContext( |
68 content::ProtocolHandlerMap* protocol_handlers, | 70 content::ProtocolHandlerMap* protocol_handlers, |
69 content::URLRequestInterceptorScopedVector request_interceptors) override; | 71 content::URLRequestInterceptorScopedVector request_interceptors) override; |
70 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 72 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
71 const base::FilePath& partition_path, | 73 const base::FilePath& partition_path, |
72 bool in_memory, | 74 bool in_memory, |
73 content::ProtocolHandlerMap* protocol_handlers, | 75 content::ProtocolHandlerMap* protocol_handlers, |
74 content::URLRequestInterceptorScopedVector request_interceptors) override; | 76 content::URLRequestInterceptorScopedVector request_interceptors) override; |
75 net::URLRequestContextGetter* CreateMediaRequestContext() override; | 77 net::URLRequestContextGetter* CreateMediaRequestContext() override; |
76 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition( | 78 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition( |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 std::unique_ptr<content::PermissionManager> permission_manager_; | 120 std::unique_ptr<content::PermissionManager> permission_manager_; |
119 | 121 |
120 std::string id_; | 122 std::string id_; |
121 | 123 |
122 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserContextImpl); | 124 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserContextImpl); |
123 }; | 125 }; |
124 | 126 |
125 } // namespace headless | 127 } // namespace headless |
126 | 128 |
127 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ | 129 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ |
OLD | NEW |