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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const base::FilePath& partition_path) override; | 50 const base::FilePath& partition_path) override; |
51 base::FilePath GetPath() const override; | 51 base::FilePath GetPath() const override; |
52 bool IsOffTheRecord() const override; | 52 bool IsOffTheRecord() const override; |
53 content::ResourceContext* GetResourceContext() override; | 53 content::ResourceContext* GetResourceContext() override; |
54 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 54 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
55 content::BrowserPluginGuestManager* GetGuestManager() override; | 55 content::BrowserPluginGuestManager* GetGuestManager() override; |
56 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 56 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
57 content::PushMessagingService* GetPushMessagingService() override; | 57 content::PushMessagingService* GetPushMessagingService() override; |
58 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 58 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
59 content::PermissionManager* GetPermissionManager() override; | 59 content::PermissionManager* GetPermissionManager() override; |
| 60 content::BackgroundFetchClient* GetBackgroundFetchClient() override; |
60 content::BackgroundSyncController* GetBackgroundSyncController() override; | 61 content::BackgroundSyncController* GetBackgroundSyncController() override; |
61 net::URLRequestContextGetter* CreateRequestContext( | 62 net::URLRequestContextGetter* CreateRequestContext( |
62 content::ProtocolHandlerMap* protocol_handlers, | 63 content::ProtocolHandlerMap* protocol_handlers, |
63 content::URLRequestInterceptorScopedVector request_interceptors) override; | 64 content::URLRequestInterceptorScopedVector request_interceptors) override; |
64 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 65 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
65 const base::FilePath& partition_path, | 66 const base::FilePath& partition_path, |
66 bool in_memory, | 67 bool in_memory, |
67 content::ProtocolHandlerMap* protocol_handlers, | 68 content::ProtocolHandlerMap* protocol_handlers, |
68 content::URLRequestInterceptorScopedVector request_interceptors) override; | 69 content::URLRequestInterceptorScopedVector request_interceptors) override; |
69 net::URLRequestContextGetter* CreateMediaRequestContext() override; | 70 net::URLRequestContextGetter* CreateMediaRequestContext() override; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 std::unique_ptr<content::PermissionManager> permission_manager_; | 102 std::unique_ptr<content::PermissionManager> permission_manager_; |
102 | 103 |
103 std::string id_; | 104 std::string id_; |
104 | 105 |
105 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserContextImpl); | 106 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserContextImpl); |
106 }; | 107 }; |
107 | 108 |
108 } // namespace headless | 109 } // namespace headless |
109 | 110 |
110 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ | 111 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_IMPL_H_ |
OLD | NEW |