| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILE_H_ |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/ref_counted.h" | 15 #include "base/ref_counted.h" |
| 16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
| 17 #include "base/timer.h" | 17 #include "base/timer.h" |
| 18 #include "chrome/browser/spellcheck_host_observer.h" | 18 #include "chrome/browser/spellcheck_host_observer.h" |
| 19 #include "chrome/common/notification_registrar.h" | 19 #include "chrome/common/notification_registrar.h" |
| 20 | 20 |
| 21 #if defined(OS_CHROMEOS) | 21 #if defined(OS_CHROMEOS) |
| 22 #include "chrome/browser/chromeos/preferences.h" | 22 #include "chrome/browser/chromeos/preferences.h" |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 namespace chrome_common_net { | |
| 26 class NetworkChangeNotifierThread; | |
| 27 } | |
| 28 | |
| 29 namespace history { | 25 namespace history { |
| 30 class TopSites; | 26 class TopSites; |
| 31 } | 27 } |
| 32 | 28 |
| 33 namespace net { | 29 namespace net { |
| 34 class TransportSecurityState; | 30 class TransportSecurityState; |
| 35 class SSLConfigService; | 31 class SSLConfigService; |
| 36 } | 32 } |
| 37 | 33 |
| 38 namespace webkit_database { | 34 namespace webkit_database { |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 scoped_refptr<TransportSecurityPersister> | 594 scoped_refptr<TransportSecurityPersister> |
| 599 transport_security_persister_; | 595 transport_security_persister_; |
| 600 scoped_ptr<PrefService> prefs_; | 596 scoped_ptr<PrefService> prefs_; |
| 601 scoped_refptr<ThumbnailStore> thumbnail_store_; | 597 scoped_refptr<ThumbnailStore> thumbnail_store_; |
| 602 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; | 598 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; |
| 603 scoped_ptr<TemplateURLModel> template_url_model_; | 599 scoped_ptr<TemplateURLModel> template_url_model_; |
| 604 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 600 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
| 605 scoped_refptr<WebResourceService> web_resource_service_; | 601 scoped_refptr<WebResourceService> web_resource_service_; |
| 606 scoped_ptr<NTPResourceCache> ntp_resource_cache_; | 602 scoped_ptr<NTPResourceCache> ntp_resource_cache_; |
| 607 | 603 |
| 608 // Used by |profile_sync_factory_|. | |
| 609 scoped_ptr<chrome_common_net::NetworkChangeNotifierThread> | |
| 610 network_change_notifier_thread_; | |
| 611 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; | 604 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; |
| 612 scoped_ptr<ProfileSyncService> sync_service_; | 605 scoped_ptr<ProfileSyncService> sync_service_; |
| 613 scoped_ptr<CloudPrintProxyService> cloud_print_proxy_service_; | 606 scoped_ptr<CloudPrintProxyService> cloud_print_proxy_service_; |
| 614 | 607 |
| 615 scoped_refptr<ChromeURLRequestContextGetter> request_context_; | 608 scoped_refptr<ChromeURLRequestContextGetter> request_context_; |
| 616 | 609 |
| 617 scoped_refptr<ChromeURLRequestContextGetter> media_request_context_; | 610 scoped_refptr<ChromeURLRequestContextGetter> media_request_context_; |
| 618 | 611 |
| 619 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_; | 612 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_; |
| 620 | 613 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 670 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
| 678 | 671 |
| 679 #if defined(OS_CHROMEOS) | 672 #if defined(OS_CHROMEOS) |
| 680 chromeos::Preferences chromeos_preferences_; | 673 chromeos::Preferences chromeos_preferences_; |
| 681 #endif | 674 #endif |
| 682 | 675 |
| 683 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 676 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 684 }; | 677 }; |
| 685 | 678 |
| 686 #endif // CHROME_BROWSER_PROFILE_H_ | 679 #endif // CHROME_BROWSER_PROFILE_H_ |
| OLD | NEW |