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_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const base::FilePath& partition_path) override; | 97 const base::FilePath& partition_path) override; |
98 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; | 98 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; |
99 bool IsOffTheRecord() const override; | 99 bool IsOffTheRecord() const override; |
100 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 100 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
101 content::ResourceContext* GetResourceContext() override; | 101 content::ResourceContext* GetResourceContext() override; |
102 content::BrowserPluginGuestManager* GetGuestManager() override; | 102 content::BrowserPluginGuestManager* GetGuestManager() override; |
103 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 103 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
104 content::PushMessagingService* GetPushMessagingService() override; | 104 content::PushMessagingService* GetPushMessagingService() override; |
105 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 105 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
106 content::PermissionManager* GetPermissionManager() override; | 106 content::PermissionManager* GetPermissionManager() override; |
| 107 content::BackgroundFetchClient* GetBackgroundFetchClient() override; |
107 content::BackgroundSyncController* GetBackgroundSyncController() override; | 108 content::BackgroundSyncController* GetBackgroundSyncController() override; |
108 | 109 |
109 private: | 110 private: |
110 void InitIoData(); | 111 void InitIoData(); |
111 | 112 |
112 // Allows a profile to track changes in zoom levels in its parent profile. | 113 // Allows a profile to track changes in zoom levels in its parent profile. |
113 void TrackZoomLevelsFromParent(); | 114 void TrackZoomLevelsFromParent(); |
114 | 115 |
115 #if defined(OS_ANDROID) | 116 #if defined(OS_ANDROID) |
116 void UseSystemProxy(); | 117 void UseSystemProxy(); |
(...skipping 20 matching lines...) Expand all Loading... |
137 Time start_time_; | 138 Time start_time_; |
138 | 139 |
139 base::FilePath last_selected_directory_; | 140 base::FilePath last_selected_directory_; |
140 | 141 |
141 std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 142 std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
142 | 143 |
143 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 144 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
144 }; | 145 }; |
145 | 146 |
146 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 147 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |