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 <string> | 10 #include <string> |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 void UpdateProfileAvatarCache(); | 199 void UpdateProfileAvatarCache(); |
200 void UpdateProfileIsEphemeralCache(); | 200 void UpdateProfileIsEphemeralCache(); |
201 | 201 |
202 void GetCacheParameters(bool is_media_context, | 202 void GetCacheParameters(bool is_media_context, |
203 base::FilePath* cache_path, | 203 base::FilePath* cache_path, |
204 int* max_size); | 204 int* max_size); |
205 | 205 |
206 PrefProxyConfigTracker* CreateProxyConfigTracker(); | 206 PrefProxyConfigTracker* CreateProxyConfigTracker(); |
207 | 207 |
208 scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 208 scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
209 CreateDomainReliabilityMonitor(); | 209 CreateDomainReliabilityMonitor(PrefService* local_state); |
210 | 210 |
211 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; | 211 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
212 PrefChangeRegistrar pref_change_registrar_; | 212 PrefChangeRegistrar pref_change_registrar_; |
213 | 213 |
214 base::FilePath path_; | 214 base::FilePath path_; |
215 base::FilePath base_cache_path_; | 215 base::FilePath base_cache_path_; |
216 | 216 |
217 // !!! BIG HONKING WARNING !!! | 217 // !!! BIG HONKING WARNING !!! |
218 // The order of the members below is important. Do not change it unless | 218 // The order of the members below is important. Do not change it unless |
219 // you know what you're doing. Also, if adding a new member here make sure | 219 // you know what you're doing. Also, if adding a new member here make sure |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 // components/keyed_service/content/browser_context_keyed_service_factory.* | 291 // components/keyed_service/content/browser_context_keyed_service_factory.* |
292 | 292 |
293 Profile::Delegate* delegate_; | 293 Profile::Delegate* delegate_; |
294 | 294 |
295 chrome_browser_net::Predictor* predictor_; | 295 chrome_browser_net::Predictor* predictor_; |
296 | 296 |
297 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 297 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
298 }; | 298 }; |
299 | 299 |
300 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 300 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |