| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 void EnsureSessionServiceCreated(); | 180 void EnsureSessionServiceCreated(); |
| 181 #endif | 181 #endif |
| 182 | 182 |
| 183 | 183 |
| 184 void EnsureRequestContextCreated() { | 184 void EnsureRequestContextCreated() { |
| 185 GetRequestContext(); | 185 GetRequestContext(); |
| 186 } | 186 } |
| 187 | 187 |
| 188 // Updates the ProfileInfoCache with data from this profile. | 188 // Updates the ProfileInfoCache with data from this profile. |
| 189 void UpdateProfileUserNameCache(); | |
| 190 void UpdateProfileSupervisedUserIdCache(); | 189 void UpdateProfileSupervisedUserIdCache(); |
| 191 void UpdateProfileNameCache(); | 190 void UpdateProfileNameCache(); |
| 192 void UpdateProfileAvatarCache(); | 191 void UpdateProfileAvatarCache(); |
| 193 void UpdateProfileIsEphemeralCache(); | 192 void UpdateProfileIsEphemeralCache(); |
| 194 | 193 |
| 195 void GetCacheParameters(bool is_media_context, | 194 void GetCacheParameters(bool is_media_context, |
| 196 base::FilePath* cache_path, | 195 base::FilePath* cache_path, |
| 197 int* max_size); | 196 int* max_size); |
| 198 | 197 |
| 199 PrefProxyConfigTracker* CreateProxyConfigTracker(); | 198 PrefProxyConfigTracker* CreateProxyConfigTracker(); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 // components/keyed_service/content/browser_context_keyed_service_factory.* | 282 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 284 | 283 |
| 285 Profile::Delegate* delegate_; | 284 Profile::Delegate* delegate_; |
| 286 | 285 |
| 287 chrome_browser_net::Predictor* predictor_; | 286 chrome_browser_net::Predictor* predictor_; |
| 288 | 287 |
| 289 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 290 }; | 289 }; |
| 291 | 290 |
| 292 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |