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