| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 175 |
| 176 // Does final prefs initialization and calls Init(). | 176 // Does final prefs initialization and calls Init(). |
| 177 void OnLocaleReady(); | 177 void OnLocaleReady(); |
| 178 | 178 |
| 179 #if defined(ENABLE_SESSION_SERVICE) | 179 #if defined(ENABLE_SESSION_SERVICE) |
| 180 void StopCreateSessionServiceTimer(); | 180 void StopCreateSessionServiceTimer(); |
| 181 | 181 |
| 182 void EnsureSessionServiceCreated(); | 182 void EnsureSessionServiceCreated(); |
| 183 #endif | 183 #endif |
| 184 | 184 |
| 185 // Updates the ProfileInfoCache with data from this profile. | 185 // Updates the ProfileAttributesStorage with the data from this profile. |
| 186 void UpdateProfileSupervisedUserIdCache(); | 186 void UpdateSupervisedUserIdInStorage(); |
| 187 void UpdateProfileNameCache(); | 187 void UpdateNameInStorage(); |
| 188 void UpdateProfileAvatarCache(); | 188 void UpdateAvatarInStorage(); |
| 189 void UpdateProfileIsEphemeralCache(); | 189 void UpdateIsEphemeralInStorage(); |
| 190 | 190 |
| 191 void GetCacheParameters(bool is_media_context, | 191 void GetCacheParameters(bool is_media_context, |
| 192 base::FilePath* cache_path, | 192 base::FilePath* cache_path, |
| 193 int* max_size); | 193 int* max_size); |
| 194 | 194 |
| 195 PrefProxyConfigTracker* CreateProxyConfigTracker(); | 195 PrefProxyConfigTracker* CreateProxyConfigTracker(); |
| 196 | 196 |
| 197 scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 197 scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
| 198 CreateDomainReliabilityMonitor(PrefService* local_state); | 198 CreateDomainReliabilityMonitor(PrefService* local_state); |
| 199 | 199 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // components/keyed_service/content/browser_context_keyed_service_factory.* | 273 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 274 | 274 |
| 275 Profile::Delegate* delegate_; | 275 Profile::Delegate* delegate_; |
| 276 | 276 |
| 277 chrome_browser_net::Predictor* predictor_; | 277 chrome_browser_net::Predictor* predictor_; |
| 278 | 278 |
| 279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 280 }; | 280 }; |
| 281 | 281 |
| 282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |