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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 void OnPrefsLoaded(bool success); | 169 void OnPrefsLoaded(bool success); |
170 | 170 |
171 base::FilePath GetPrefFilePath(); | 171 base::FilePath GetPrefFilePath(); |
172 | 172 |
173 #if defined(ENABLE_SESSION_SERVICE) | 173 #if defined(ENABLE_SESSION_SERVICE) |
174 void StopCreateSessionServiceTimer(); | 174 void StopCreateSessionServiceTimer(); |
175 | 175 |
176 void EnsureSessionServiceCreated(); | 176 void EnsureSessionServiceCreated(); |
177 #endif | 177 #endif |
178 | 178 |
179 | |
180 void EnsureRequestContextCreated() { | 179 void EnsureRequestContextCreated() { |
181 GetRequestContext(); | 180 GetRequestContext(); |
182 } | 181 } |
183 | 182 |
184 void UpdateProfileUserNameCache(); | 183 void UpdateProfileUserNameCache(); |
185 | 184 |
186 // Updates the ProfileInfoCache with data from this profile. | 185 // Updates the ProfileInfoCache with data from this profile. |
187 void UpdateProfileNameCache(); | 186 void UpdateProfileNameCache(); |
188 void UpdateProfileAvatarCache(); | 187 void UpdateProfileAvatarCache(); |
189 | 188 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 // 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} |
270 | 269 |
271 Profile::Delegate* delegate_; | 270 Profile::Delegate* delegate_; |
272 | 271 |
273 chrome_browser_net::Predictor* predictor_; | 272 chrome_browser_net::Predictor* predictor_; |
274 | 273 |
275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 274 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
276 }; | 275 }; |
277 | 276 |
278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |