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