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 CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 38 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( |
39 const base::FilePath& partition_path) override; | 39 const base::FilePath& partition_path) override; |
40 bool IsOffTheRecord() const override; | 40 bool IsOffTheRecord() const override; |
41 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 41 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
42 content::ResourceContext* GetResourceContext() override; | 42 content::ResourceContext* GetResourceContext() override; |
43 content::BrowserPluginGuestManager* GetGuestManager() override; | 43 content::BrowserPluginGuestManager* GetGuestManager() override; |
44 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 44 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
45 content::PushMessagingService* GetPushMessagingService() override; | 45 content::PushMessagingService* GetPushMessagingService() override; |
46 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 46 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
47 content::PermissionManager* GetPermissionManager() override; | 47 content::PermissionManager* GetPermissionManager() override; |
| 48 content::BackgroundFetchClient* GetBackgroundFetchClient() override; |
48 content::BackgroundSyncController* GetBackgroundSyncController() override; | 49 content::BackgroundSyncController* GetBackgroundSyncController() override; |
49 net::URLRequestContextGetter* CreateRequestContext( | 50 net::URLRequestContextGetter* CreateRequestContext( |
50 content::ProtocolHandlerMap* protocol_handlers, | 51 content::ProtocolHandlerMap* protocol_handlers, |
51 content::URLRequestInterceptorScopedVector request_interceptors) override; | 52 content::URLRequestInterceptorScopedVector request_interceptors) override; |
52 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 53 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
53 const base::FilePath& partition_path, | 54 const base::FilePath& partition_path, |
54 bool in_memory, | 55 bool in_memory, |
55 content::ProtocolHandlerMap* protocol_handlers, | 56 content::ProtocolHandlerMap* protocol_handlers, |
56 content::URLRequestInterceptorScopedVector request_interceptors) override; | 57 content::URLRequestInterceptorScopedVector request_interceptors) override; |
57 net::URLRequestContextGetter* CreateMediaRequestContext() override; | 58 net::URLRequestContextGetter* CreateMediaRequestContext() override; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 bool WasCreatedByVersionOrLater(const std::string& version) override; | 96 bool WasCreatedByVersionOrLater(const std::string& version) override; |
96 void SetExitType(ExitType exit_type) override; | 97 void SetExitType(ExitType exit_type) override; |
97 ExitType GetLastSessionExitType() override; | 98 ExitType GetLastSessionExitType() override; |
98 | 99 |
99 private: | 100 private: |
100 std::string name_; | 101 std::string name_; |
101 base::FilePath path_; | 102 base::FilePath path_; |
102 }; | 103 }; |
103 | 104 |
104 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 105 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |