| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 void StopCreateSessionServiceTimer(); | 188 void StopCreateSessionServiceTimer(); |
| 189 | 189 |
| 190 void EnsureSessionServiceCreated(); | 190 void EnsureSessionServiceCreated(); |
| 191 #endif | 191 #endif |
| 192 | 192 |
| 193 | 193 |
| 194 void EnsureRequestContextCreated() { | 194 void EnsureRequestContextCreated() { |
| 195 GetRequestContext(); | 195 GetRequestContext(); |
| 196 } | 196 } |
| 197 | 197 |
| 198 // Updates the ProfileInfoCache with data from this profile. |
| 198 void UpdateProfileUserNameCache(); | 199 void UpdateProfileUserNameCache(); |
| 199 | 200 void UpdateProfileManagedUserIdCache(); |
| 200 // Updates the ProfileInfoCache with data from this profile. | |
| 201 void UpdateProfileNameCache(); | 201 void UpdateProfileNameCache(); |
| 202 void UpdateProfileAvatarCache(); | 202 void UpdateProfileAvatarCache(); |
| 203 void UpdateProfileIsEphemeralCache(); | 203 void UpdateProfileIsEphemeralCache(); |
| 204 | 204 |
| 205 void GetCacheParameters(bool is_media_context, | 205 void GetCacheParameters(bool is_media_context, |
| 206 base::FilePath* cache_path, | 206 base::FilePath* cache_path, |
| 207 int* max_size); | 207 int* max_size); |
| 208 | 208 |
| 209 PrefProxyConfigTracker* CreateProxyConfigTracker(); | 209 PrefProxyConfigTracker* CreateProxyConfigTracker(); |
| 210 | 210 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 // components/keyed_service/content/browser_context_keyed_service_factory.* | 285 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 286 | 286 |
| 287 Profile::Delegate* delegate_; | 287 Profile::Delegate* delegate_; |
| 288 | 288 |
| 289 chrome_browser_net::Predictor* predictor_; | 289 chrome_browser_net::Predictor* predictor_; |
| 290 | 290 |
| 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 294 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |