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 | |
199 void GetCacheParameters(bool is_media_context, | 194 void GetCacheParameters(bool is_media_context, |
200 FilePath* cache_path, | 195 FilePath* cache_path, |
201 int* max_size); | 196 int* max_size); |
202 | 197 |
203 content::NotificationRegistrar registrar_; | 198 content::NotificationRegistrar registrar_; |
204 PrefChangeRegistrar pref_change_registrar_; | 199 PrefChangeRegistrar pref_change_registrar_; |
205 | 200 |
206 FilePath path_; | 201 FilePath path_; |
207 FilePath base_cache_path_; | 202 FilePath base_cache_path_; |
208 | 203 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 Profile::Delegate* delegate_; | 317 Profile::Delegate* delegate_; |
323 | 318 |
324 chrome_browser_net::Predictor* predictor_; | 319 chrome_browser_net::Predictor* predictor_; |
325 | 320 |
326 bool session_restore_enabled_; | 321 bool session_restore_enabled_; |
327 | 322 |
328 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 323 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
329 }; | 324 }; |
330 | 325 |
331 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 326 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |