| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 void UpdateProfileUserNameCache(); | 182 void UpdateProfileUserNameCache(); |
| 183 | 183 |
| 184 // Updates the ProfileInfoCache with data from this profile. | 184 // Updates the ProfileInfoCache with data from this profile. |
| 185 void UpdateProfileNameCache(); | 185 void UpdateProfileNameCache(); |
| 186 void UpdateProfileAvatarCache(); | 186 void UpdateProfileAvatarCache(); |
| 187 | 187 |
| 188 void GetCacheParameters(bool is_media_context, | 188 void GetCacheParameters(bool is_media_context, |
| 189 FilePath* cache_path, | 189 FilePath* cache_path, |
| 190 int* max_size); | 190 int* max_size); |
| 191 | 191 |
| 192 virtual base::Callback<ChromeURLDataManagerBackend*(void)> | |
| 193 GetChromeURLDataManagerBackendGetter() const OVERRIDE; | |
| 194 | |
| 195 content::NotificationRegistrar registrar_; | 192 content::NotificationRegistrar registrar_; |
| 196 PrefChangeRegistrar pref_change_registrar_; | 193 PrefChangeRegistrar pref_change_registrar_; |
| 197 | 194 |
| 198 FilePath path_; | 195 FilePath path_; |
| 199 FilePath base_cache_path_; | 196 FilePath base_cache_path_; |
| 200 | 197 |
| 201 // !!! BIG HONKING WARNING !!! | 198 // !!! BIG HONKING WARNING !!! |
| 202 // The order of the members below is important. Do not change it unless | 199 // The order of the members below is important. Do not change it unless |
| 203 // you know what you're doing. Also, if adding a new member here make sure | 200 // you know what you're doing. Also, if adding a new member here make sure |
| 204 // that the declaration occurs AFTER things it depends on as destruction | 201 // that the declaration occurs AFTER things it depends on as destruction |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 267 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
| 271 | 268 |
| 272 Profile::Delegate* delegate_; | 269 Profile::Delegate* delegate_; |
| 273 | 270 |
| 274 chrome_browser_net::Predictor* predictor_; | 271 chrome_browser_net::Predictor* predictor_; |
| 275 | 272 |
| 276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 273 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 277 }; | 274 }; |
| 278 | 275 |
| 279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 276 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |