OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_TEST_BASE_TESTING_PROFILE_H_ | 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ |
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 const base::FilePath& partition_path) override; | 237 const base::FilePath& partition_path) override; |
238 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; | 238 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; |
239 bool IsOffTheRecord() const override; | 239 bool IsOffTheRecord() const override; |
240 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 240 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
241 content::ResourceContext* GetResourceContext() override; | 241 content::ResourceContext* GetResourceContext() override; |
242 content::BrowserPluginGuestManager* GetGuestManager() override; | 242 content::BrowserPluginGuestManager* GetGuestManager() override; |
243 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 243 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
244 content::PushMessagingService* GetPushMessagingService() override; | 244 content::PushMessagingService* GetPushMessagingService() override; |
245 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 245 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
246 content::PermissionManager* GetPermissionManager() override; | 246 content::PermissionManager* GetPermissionManager() override; |
| 247 content::BackgroundFetchClient* GetBackgroundFetchClient() override; |
247 content::BackgroundSyncController* GetBackgroundSyncController() override; | 248 content::BackgroundSyncController* GetBackgroundSyncController() override; |
248 net::URLRequestContextGetter* CreateRequestContext( | 249 net::URLRequestContextGetter* CreateRequestContext( |
249 content::ProtocolHandlerMap* protocol_handlers, | 250 content::ProtocolHandlerMap* protocol_handlers, |
250 content::URLRequestInterceptorScopedVector request_interceptors) override; | 251 content::URLRequestInterceptorScopedVector request_interceptors) override; |
251 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 252 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
252 const base::FilePath& partition_path, | 253 const base::FilePath& partition_path, |
253 bool in_memory, | 254 bool in_memory, |
254 content::ProtocolHandlerMap* protocol_handlers, | 255 content::ProtocolHandlerMap* protocol_handlers, |
255 content::URLRequestInterceptorScopedVector request_interceptors) override; | 256 content::URLRequestInterceptorScopedVector request_interceptors) override; |
256 net::URLRequestContextGetter* CreateMediaRequestContext() override; | 257 net::URLRequestContextGetter* CreateMediaRequestContext() override; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 | 428 |
428 // Weak pointer to a delegate for indicating that a profile was created. | 429 // Weak pointer to a delegate for indicating that a profile was created. |
429 Delegate* delegate_; | 430 Delegate* delegate_; |
430 | 431 |
431 std::string profile_name_; | 432 std::string profile_name_; |
432 | 433 |
433 std::unique_ptr<policy::PolicyService> policy_service_; | 434 std::unique_ptr<policy::PolicyService> policy_service_; |
434 }; | 435 }; |
435 | 436 |
436 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 437 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |