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 |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/timer.h" | 14 #include "base/timer.h" |
15 #include "chrome/browser/prefs/pref_change_registrar.h" | 15 #include "chrome/browser/prefs/pref_change_registrar.h" |
16 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/browser/profiles/profile_impl_io_data.h" | 17 #include "chrome/browser/profiles/profile_impl_io_data.h" |
18 #include "content/common/notification_observer.h" | 18 #include "content/common/notification_observer.h" |
19 #include "content/common/notification_registrar.h" | 19 #include "content/common/notification_registrar.h" |
20 | 20 |
21 class ChromeDownloadManagerDelegate; | 21 class ChromeDownloadManagerDelegate; |
| 22 class ExtensionPrefValueMap; |
22 class ExtensionPrefs; | 23 class ExtensionPrefs; |
23 class ExtensionPrefValueMap; | |
24 class ExtensionSettings; | 24 class ExtensionSettings; |
25 class NetPrefObserver; | 25 class NetPrefObserver; |
26 class PrefService; | 26 class PrefService; |
27 class SpellCheckProfile; | 27 class SpellCheckProfile; |
28 | 28 |
29 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
30 namespace chromeos { | 30 namespace chromeos { |
31 class EnterpriseExtensionObserver; | 31 class EnterpriseExtensionObserver; |
32 class LocaleChangeGuard; | 32 class LocaleChangeGuard; |
33 class Preferences; | 33 class Preferences; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual FaviconService* GetFaviconService(ServiceAccessType sat); | 67 virtual FaviconService* GetFaviconService(ServiceAccessType sat); |
68 virtual HistoryService* GetHistoryService(ServiceAccessType sat); | 68 virtual HistoryService* GetHistoryService(ServiceAccessType sat); |
69 virtual HistoryService* GetHistoryServiceWithoutCreating(); | 69 virtual HistoryService* GetHistoryServiceWithoutCreating(); |
70 virtual AutocompleteClassifier* GetAutocompleteClassifier(); | 70 virtual AutocompleteClassifier* GetAutocompleteClassifier(); |
71 virtual history::ShortcutsBackend* GetShortcutsBackend(); | 71 virtual history::ShortcutsBackend* GetShortcutsBackend(); |
72 virtual WebDataService* GetWebDataService(ServiceAccessType sat); | 72 virtual WebDataService* GetWebDataService(ServiceAccessType sat); |
73 virtual WebDataService* GetWebDataServiceWithoutCreating(); | 73 virtual WebDataService* GetWebDataServiceWithoutCreating(); |
74 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); | 74 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); |
75 virtual PrefService* GetPrefs(); | 75 virtual PrefService* GetPrefs(); |
76 virtual PrefService* GetOffTheRecordPrefs(); | 76 virtual PrefService* GetOffTheRecordPrefs(); |
| 77 virtual PrefService* GetPrefsForTabContents(TabContents* contents); |
77 virtual TemplateURLFetcher* GetTemplateURLFetcher(); | 78 virtual TemplateURLFetcher* GetTemplateURLFetcher(); |
78 virtual DownloadManager* GetDownloadManager(); | 79 virtual DownloadManager* GetDownloadManager(); |
79 virtual PersonalDataManager* GetPersonalDataManager(); | 80 virtual PersonalDataManager* GetPersonalDataManager(); |
80 virtual fileapi::FileSystemContext* GetFileSystemContext(); | 81 virtual fileapi::FileSystemContext* GetFileSystemContext(); |
81 virtual quota::QuotaManager* GetQuotaManager(); | 82 virtual quota::QuotaManager* GetQuotaManager(); |
82 virtual bool HasCreatedDownloadManager() const; | 83 virtual bool HasCreatedDownloadManager() const; |
83 virtual net::URLRequestContextGetter* GetRequestContext(); | 84 virtual net::URLRequestContextGetter* GetRequestContext(); |
84 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 85 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
85 int renderer_child_id); | 86 int renderer_child_id); |
86 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); | 87 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 288 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
288 | 289 |
289 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 290 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
290 | 291 |
291 Profile::Delegate* delegate_; | 292 Profile::Delegate* delegate_; |
292 | 293 |
293 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
294 }; | 295 }; |
295 | 296 |
296 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |