OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 void EnsureSessionServiceCreated(); | 184 void EnsureSessionServiceCreated(); |
185 | 185 |
186 ExtensionPrefValueMap* GetExtensionPrefValueMap(); | 186 ExtensionPrefValueMap* GetExtensionPrefValueMap(); |
187 | 187 |
188 void CreateQuotaManagerAndClients(); | 188 void CreateQuotaManagerAndClients(); |
189 | 189 |
190 SpellCheckProfile* GetSpellCheckProfile(); | 190 SpellCheckProfile* GetSpellCheckProfile(); |
191 | 191 |
192 void UpdateProfileUserNameCache(); | 192 void UpdateProfileUserNameCache(); |
193 | 193 |
| 194 |
| 195 // Updates the ProfileInfoCache with data from this profile. |
| 196 void UpdateProfileNameCache(); |
| 197 void UpdateProfileAvatarCache(); |
| 198 |
194 void GetCacheParameters(bool is_media_context, | 199 void GetCacheParameters(bool is_media_context, |
195 FilePath* cache_path, | 200 FilePath* cache_path, |
196 int* max_size); | 201 int* max_size); |
197 | 202 |
198 content::NotificationRegistrar registrar_; | 203 content::NotificationRegistrar registrar_; |
199 PrefChangeRegistrar pref_change_registrar_; | 204 PrefChangeRegistrar pref_change_registrar_; |
200 | 205 |
201 FilePath path_; | 206 FilePath path_; |
202 FilePath base_cache_path_; | 207 FilePath base_cache_path_; |
203 | 208 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 Profile::Delegate* delegate_; | 322 Profile::Delegate* delegate_; |
318 | 323 |
319 chrome_browser_net::Predictor* predictor_; | 324 chrome_browser_net::Predictor* predictor_; |
320 | 325 |
321 bool session_restore_enabled_; | 326 bool session_restore_enabled_; |
322 | 327 |
323 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 328 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
324 }; | 329 }; |
325 | 330 |
326 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 331 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |