| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 void UpdateProfileUserNameCache(); | 178 void UpdateProfileUserNameCache(); |
| 179 | 179 |
| 180 // Updates the ProfileInfoCache with data from this profile. | 180 // Updates the ProfileInfoCache with data from this profile. |
| 181 void UpdateProfileNameCache(); | 181 void UpdateProfileNameCache(); |
| 182 void UpdateProfileAvatarCache(); | 182 void UpdateProfileAvatarCache(); |
| 183 | 183 |
| 184 void GetCacheParameters(bool is_media_context, | 184 void GetCacheParameters(bool is_media_context, |
| 185 base::FilePath* cache_path, | 185 base::FilePath* cache_path, |
| 186 int* max_size); | 186 int* max_size); |
| 187 | 187 |
| 188 PrefProxyConfigTracker* CreateProxyConfigTracker(); |
| 189 |
| 188 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; | 190 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; |
| 189 PrefChangeRegistrar pref_change_registrar_; | 191 PrefChangeRegistrar pref_change_registrar_; |
| 190 | 192 |
| 191 base::FilePath path_; | 193 base::FilePath path_; |
| 192 base::FilePath base_cache_path_; | 194 base::FilePath base_cache_path_; |
| 193 | 195 |
| 194 // !!! BIG HONKING WARNING !!! | 196 // !!! BIG HONKING WARNING !!! |
| 195 // The order of the members below is important. Do not change it unless | 197 // The order of the members below is important. Do not change it unless |
| 196 // you know what you're doing. Also, if adding a new member here make sure | 198 // you know what you're doing. Also, if adding a new member here make sure |
| 197 // that the declaration occurs AFTER things it depends on as destruction | 199 // that the declaration occurs AFTER things it depends on as destruction |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} | 263 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} |
| 262 | 264 |
| 263 Profile::Delegate* delegate_; | 265 Profile::Delegate* delegate_; |
| 264 | 266 |
| 265 chrome_browser_net::Predictor* predictor_; | 267 chrome_browser_net::Predictor* predictor_; |
| 266 | 268 |
| 267 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 269 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 268 }; | 270 }; |
| 269 | 271 |
| 270 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 272 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |