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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 base::FilePath* cache_path, | 189 base::FilePath* cache_path, |
190 int* max_size); | 190 int* max_size); |
191 | 191 |
192 PrefProxyConfigTracker* CreateProxyConfigTracker(); | 192 PrefProxyConfigTracker* CreateProxyConfigTracker(); |
193 | 193 |
194 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; | 194 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
195 PrefChangeRegistrar pref_change_registrar_; | 195 PrefChangeRegistrar pref_change_registrar_; |
196 | 196 |
197 base::FilePath path_; | 197 base::FilePath path_; |
198 base::FilePath base_cache_path_; | 198 base::FilePath base_cache_path_; |
199 | 199 |
200 // !!! BIG HONKING WARNING !!! | 200 // !!! BIG HONKING WARNING !!! |
201 // The order of the members below is important. Do not change it unless | 201 // The order of the members below is important. Do not change it unless |
202 // you know what you're doing. Also, if adding a new member here make sure | 202 // you know what you're doing. Also, if adding a new member here make sure |
203 // that the declaration occurs AFTER things it depends on as destruction | 203 // that the declaration occurs AFTER things it depends on as destruction |
204 // happens in reverse order of declaration. | 204 // happens in reverse order of declaration. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} | 264 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} |
265 | 265 |
266 Profile::Delegate* delegate_; | 266 Profile::Delegate* delegate_; |
267 | 267 |
268 chrome_browser_net::Predictor* predictor_; | 268 chrome_browser_net::Predictor* predictor_; |
269 | 269 |
270 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 270 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
271 }; | 271 }; |
272 | 272 |
273 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 273 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |