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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 class GeolocationPermissionContext; | 64 class GeolocationPermissionContext; |
65 class HistoryService; | 65 class HistoryService; |
66 class HostContentSettingsMap; | 66 class HostContentSettingsMap; |
67 class HostZoomMap; | 67 class HostZoomMap; |
68 class NavigationController; | 68 class NavigationController; |
69 class NTPResourceCache; | 69 class NTPResourceCache; |
70 class PasswordStore; | 70 class PasswordStore; |
71 class PersonalDataManager; | 71 class PersonalDataManager; |
72 class PinnedTabService; | 72 class PinnedTabService; |
73 class PrefService; | 73 class PrefService; |
74 class PrefStore; | |
74 class ExtensionInfoMap; | 75 class ExtensionInfoMap; |
75 class PrefProxyConfigTracker; | 76 class PrefProxyConfigTracker; |
76 class PromoCounter; | 77 class PromoCounter; |
77 class ProfileSyncService; | 78 class ProfileSyncService; |
78 class ProfileSyncFactory; | 79 class ProfileSyncFactory; |
79 class SessionService; | 80 class SessionService; |
80 class SpellCheckHost; | 81 class SpellCheckHost; |
81 class SSLConfigServiceManager; | 82 class SSLConfigServiceManager; |
82 class SSLHostState; | 83 class SSLHostState; |
83 class StatusTray; | 84 class StatusTray; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
271 virtual WebDataService* GetWebDataServiceWithoutCreating() = 0; | 272 virtual WebDataService* GetWebDataServiceWithoutCreating() = 0; |
272 | 273 |
273 // Returns the PasswordStore for this profile. This is owned by the Profile. | 274 // Returns the PasswordStore for this profile. This is owned by the Profile. |
274 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) = 0; | 275 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) = 0; |
275 | 276 |
276 // Retrieves a pointer to the PrefService that manages the preferences | 277 // Retrieves a pointer to the PrefService that manages the preferences |
277 // for this user profile. The PrefService is lazily created the first | 278 // for this user profile. The PrefService is lazily created the first |
278 // time that this method is called. | 279 // time that this method is called. |
279 virtual PrefService* GetPrefs() = 0; | 280 virtual PrefService* GetPrefs() = 0; |
280 | 281 |
282 // Retrieves a pointer to the PrefStore that contains the currently effective | |
283 // extension controlled preferences. | |
284 virtual PrefStore* GetExtensionPrefStore() = 0; | |
Aaron Boodman
2010/12/03 08:58:10
Why is it necessary to store a pointer to extensio
battre (please use the other)
2010/12/03 19:32:58
Gone.
| |
285 | |
286 // Sets a pointer to the PrefStore that contains the currently effective | |
287 // extension controlled preferences. Ownership remains at the caller. | |
288 virtual void SetExtensionPrefStore(PrefStore* ext_pref_store) = 0; | |
289 | |
281 // Returns the TemplateURLModel for this profile. This is owned by the | 290 // Returns the TemplateURLModel for this profile. This is owned by the |
282 // the Profile. | 291 // the Profile. |
283 virtual TemplateURLModel* GetTemplateURLModel() = 0; | 292 virtual TemplateURLModel* GetTemplateURLModel() = 0; |
284 | 293 |
285 // Returns the TemplateURLFetcher for this profile. This is owned by the | 294 // Returns the TemplateURLFetcher for this profile. This is owned by the |
286 // profile. | 295 // profile. |
287 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; | 296 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; |
288 | 297 |
289 // Returns the DownloadManager associated with this profile. | 298 // Returns the DownloadManager associated with this profile. |
290 virtual DownloadManager* GetDownloadManager() = 0; | 299 virtual DownloadManager* GetDownloadManager() = 0; |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
535 bool restored_last_session_; | 544 bool restored_last_session_; |
536 | 545 |
537 // Accessibility events will only be propagated when the pause | 546 // Accessibility events will only be propagated when the pause |
538 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 547 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
539 // increment and decrement the level, respectively, rather than set it to | 548 // increment and decrement the level, respectively, rather than set it to |
540 // true or false, so that calls can be nested. | 549 // true or false, so that calls can be nested. |
541 int accessibility_pause_level_; | 550 int accessibility_pause_level_; |
542 }; | 551 }; |
543 | 552 |
544 #endif // CHROME_BROWSER_PROFILE_H_ | 553 #endif // CHROME_BROWSER_PROFILE_H_ |
OLD | NEW |