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