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