Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: chrome/browser/profile.h

Issue 2521001: AutoFill: Make PersonalDataManager RefCountedThreadSafe. (Closed)
Patch Set: Fix lints. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
16 #include "base/timer.h" 17 #include "base/timer.h"
17 #include "chrome/browser/spellcheck_host_observer.h" 18 #include "chrome/browser/spellcheck_host_observer.h"
18 #include "chrome/common/notification_registrar.h" 19 #include "chrome/common/notification_registrar.h"
19 20
20 #if defined(OS_CHROMEOS) 21 #if defined(OS_CHROMEOS)
21 #include "chrome/browser/chromeos/preferences.h" 22 #include "chrome/browser/chromeos/preferences.h"
22 #endif 23 #endif
23 24
24 namespace chrome_common_net { 25 namespace chrome_common_net {
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 scoped_refptr<DownloadManager> download_manager_; 621 scoped_refptr<DownloadManager> download_manager_;
621 scoped_refptr<HistoryService> history_service_; 622 scoped_refptr<HistoryService> history_service_;
622 scoped_refptr<FaviconService> favicon_service_; 623 scoped_refptr<FaviconService> favicon_service_;
623 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 624 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
624 scoped_refptr<WebDataService> web_data_service_; 625 scoped_refptr<WebDataService> web_data_service_;
625 scoped_refptr<PasswordStore> password_store_; 626 scoped_refptr<PasswordStore> password_store_;
626 scoped_refptr<SessionService> session_service_; 627 scoped_refptr<SessionService> session_service_;
627 scoped_ptr<BrowserThemeProvider> theme_provider_; 628 scoped_ptr<BrowserThemeProvider> theme_provider_;
628 scoped_refptr<WebKitContext> webkit_context_; 629 scoped_refptr<WebKitContext> webkit_context_;
629 scoped_ptr<DesktopNotificationService> desktop_notification_service_; 630 scoped_ptr<DesktopNotificationService> desktop_notification_service_;
630 scoped_ptr<PersonalDataManager> personal_data_manager_; 631 scoped_refptr<PersonalDataManager> personal_data_manager_;
631 scoped_ptr<PinnedTabService> pinned_tab_service_; 632 scoped_ptr<PinnedTabService> pinned_tab_service_;
632 bool history_service_created_; 633 bool history_service_created_;
633 bool favicon_service_created_; 634 bool favicon_service_created_;
634 bool created_web_data_service_; 635 bool created_web_data_service_;
635 bool created_password_store_; 636 bool created_password_store_;
636 bool created_download_manager_; 637 bool created_download_manager_;
637 bool created_theme_provider_; 638 bool created_theme_provider_;
638 // Whether or not the last session exited cleanly. This is set only once. 639 // Whether or not the last session exited cleanly. This is set only once.
639 bool last_session_exited_cleanly_; 640 bool last_session_exited_cleanly_;
640 641
(...skipping 23 matching lines...) Expand all
664 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. 665 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
665 666
666 #if defined(OS_CHROMEOS) 667 #if defined(OS_CHROMEOS)
667 chromeos::Preferences chromeos_preferences_; 668 chromeos::Preferences chromeos_preferences_;
668 #endif 669 #endif
669 670
670 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 671 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
671 }; 672 };
672 673
673 #endif // CHROME_BROWSER_PROFILE_H_ 674 #endif // CHROME_BROWSER_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698