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 // This class gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
6 | 6 |
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 ~ProfileImpl() override; | 76 ~ProfileImpl() override; |
77 | 77 |
78 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 78 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
79 | 79 |
80 // content::BrowserContext implementation: | 80 // content::BrowserContext implementation: |
81 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 81 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( |
82 const base::FilePath& partition_path) override; | 82 const base::FilePath& partition_path) override; |
83 base::FilePath GetPath() const override; | 83 base::FilePath GetPath() const override; |
84 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 84 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
85 net::URLRequestContextGetter* GetRequestContext() override; | |
86 net::URLRequestContextGetter* GetMediaRequestContext() override; | 85 net::URLRequestContextGetter* GetMediaRequestContext() override; |
87 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 86 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
88 int renderer_child_id) override; | 87 int renderer_child_id) override; |
89 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 88 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
90 const base::FilePath& partition_path, | 89 const base::FilePath& partition_path, |
91 bool in_memory) override; | 90 bool in_memory) override; |
92 content::ResourceContext* GetResourceContext() override; | 91 content::ResourceContext* GetResourceContext() override; |
93 content::BrowserPluginGuestManager* GetGuestManager() override; | 92 content::BrowserPluginGuestManager* GetGuestManager() override; |
94 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 93 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
95 content::PushMessagingService* GetPushMessagingService() override; | 94 content::PushMessagingService* GetPushMessagingService() override; |
(...skipping 21 matching lines...) Expand all Loading... |
117 bool HasOffTheRecordProfile() override; | 116 bool HasOffTheRecordProfile() override; |
118 Profile* GetOriginalProfile() override; | 117 Profile* GetOriginalProfile() override; |
119 bool IsSupervised() const override; | 118 bool IsSupervised() const override; |
120 bool IsChild() const override; | 119 bool IsChild() const override; |
121 bool IsLegacySupervised() const override; | 120 bool IsLegacySupervised() const override; |
122 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 121 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
123 PrefService* GetPrefs() override; | 122 PrefService* GetPrefs() override; |
124 const PrefService* GetPrefs() const override; | 123 const PrefService* GetPrefs() const override; |
125 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; | 124 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; |
126 PrefService* GetOffTheRecordPrefs() override; | 125 PrefService* GetOffTheRecordPrefs() override; |
| 126 net::URLRequestContextGetter* GetRequestContext() override; |
127 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 127 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
128 net::SSLConfigService* GetSSLConfigService() override; | 128 net::SSLConfigService* GetSSLConfigService() override; |
129 bool IsSameProfile(Profile* profile) override; | 129 bool IsSameProfile(Profile* profile) override; |
130 base::Time GetStartTime() const override; | 130 base::Time GetStartTime() const override; |
131 base::FilePath last_selected_directory() override; | 131 base::FilePath last_selected_directory() override; |
132 void set_last_selected_directory(const base::FilePath& path) override; | 132 void set_last_selected_directory(const base::FilePath& path) override; |
133 chrome_browser_net::Predictor* GetNetworkPredictor() override; | 133 chrome_browser_net::Predictor* GetNetworkPredictor() override; |
134 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle() | 134 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle() |
135 override; | 135 override; |
136 void ClearNetworkingHistorySince(base::Time time, | 136 void ClearNetworkingHistorySince(base::Time time, |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 // components/keyed_service/content/browser_context_keyed_service_factory.* | 271 // components/keyed_service/content/browser_context_keyed_service_factory.* |
272 | 272 |
273 Profile::Delegate* delegate_; | 273 Profile::Delegate* delegate_; |
274 | 274 |
275 chrome_browser_net::Predictor* predictor_; | 275 chrome_browser_net::Predictor* predictor_; |
276 | 276 |
277 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 277 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
278 }; | 278 }; |
279 | 279 |
280 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 280 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |