OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // Whether or not the last session exited cleanly. This is set only once. | 254 // Whether or not the last session exited cleanly. This is set only once. |
255 bool last_session_exited_cleanly_; | 255 bool last_session_exited_cleanly_; |
256 | 256 |
257 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 257 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
258 | 258 |
259 scoped_ptr<Profile> off_the_record_profile_; | 259 scoped_ptr<Profile> off_the_record_profile_; |
260 | 260 |
261 // See GetStartTime for details. | 261 // See GetStartTime for details. |
262 base::Time start_time_; | 262 base::Time start_time_; |
263 | 263 |
264 scoped_ptr<SpellCheckProfile> spellcheck_profile_; | 264 scoped_refptr<SpellCheckProfile> spellcheck_profile_; |
265 | 265 |
266 #if defined(OS_WIN) | 266 #if defined(OS_WIN) |
267 bool checked_instant_promo_; | 267 bool checked_instant_promo_; |
268 scoped_ptr<PromoCounter> instant_promo_counter_; | 268 scoped_ptr<PromoCounter> instant_promo_counter_; |
269 #endif | 269 #endif |
270 | 270 |
271 // The AppCacheService for this profile, shared by all requests contexts | 271 // The AppCacheService for this profile, shared by all requests contexts |
272 // associated with this profile. Should only be used on the IO thread. | 272 // associated with this profile. Should only be used on the IO thread. |
273 scoped_refptr<ChromeAppCacheService> appcache_service_; | 273 scoped_refptr<ChromeAppCacheService> appcache_service_; |
274 | 274 |
(...skipping 21 matching lines...) Expand all Loading... |
296 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 296 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
297 | 297 |
298 Profile::Delegate* delegate_; | 298 Profile::Delegate* delegate_; |
299 | 299 |
300 chrome_browser_net::Predictor* predictor_; | 300 chrome_browser_net::Predictor* predictor_; |
301 | 301 |
302 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 302 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
303 }; | 303 }; |
304 | 304 |
305 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 305 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |