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_PROFILES_PROFILE_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ |
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 } | 32 } |
33 | 33 |
34 namespace policy { | 34 namespace policy { |
35 class ProfilePolicyContext; | 35 class ProfilePolicyContext; |
36 } | 36 } |
37 | 37 |
38 namespace webkit_database { | 38 namespace webkit_database { |
39 class DatabaseTracker; | 39 class DatabaseTracker; |
40 } | 40 } |
41 | 41 |
| 42 namespace fileapi { |
| 43 class SandboxedFileSystemContext; |
| 44 } |
| 45 |
42 class AutocompleteClassifier; | 46 class AutocompleteClassifier; |
43 class BackgroundContentsService; | 47 class BackgroundContentsService; |
44 class BackgroundModeManager; | 48 class BackgroundModeManager; |
45 class BookmarkModel; | 49 class BookmarkModel; |
46 class BrowserSignin; | 50 class BrowserSignin; |
47 class BrowserThemeProvider; | 51 class BrowserThemeProvider; |
48 class ChromeAppCacheService; | 52 class ChromeAppCacheService; |
49 class ChromeBlobStorageContext; | 53 class ChromeBlobStorageContext; |
50 class ChromeURLRequestContextGetter; | 54 class ChromeURLRequestContextGetter; |
51 class CloudPrintProxyService; | 55 class CloudPrintProxyService; |
52 class DesktopNotificationService; | 56 class DesktopNotificationService; |
53 class DownloadManager; | 57 class DownloadManager; |
54 class Extension; | 58 class Extension; |
55 class ExtensionDevToolsManager; | 59 class ExtensionDevToolsManager; |
56 class ExtensionEventRouter; | 60 class ExtensionEventRouter; |
| 61 class ExtensionInfoMap; |
57 class ExtensionMessageService; | 62 class ExtensionMessageService; |
58 class ExtensionProcessManager; | 63 class ExtensionProcessManager; |
59 class ExtensionsService; | 64 class ExtensionsService; |
60 class FaviconService; | 65 class FaviconService; |
61 class FilePath; | 66 class FilePath; |
62 class BrowserFileSystemContext; | |
63 class FindBarState; | 67 class FindBarState; |
64 class GeolocationContentSettingsMap; | 68 class GeolocationContentSettingsMap; |
65 class GeolocationPermissionContext; | 69 class GeolocationPermissionContext; |
66 class HistoryService; | 70 class HistoryService; |
67 class HostContentSettingsMap; | 71 class HostContentSettingsMap; |
68 class HostZoomMap; | 72 class HostZoomMap; |
| 73 class NTPResourceCache; |
69 class NavigationController; | 74 class NavigationController; |
70 class NTPResourceCache; | |
71 class PasswordStore; | 75 class PasswordStore; |
72 class PersonalDataManager; | 76 class PersonalDataManager; |
73 class PinnedTabService; | 77 class PinnedTabService; |
| 78 class PrefProxyConfigTracker; |
74 class PrefService; | 79 class PrefService; |
75 class ExtensionInfoMap; | |
76 class PrefProxyConfigTracker; | |
77 class PrerenderManager; | 80 class PrerenderManager; |
| 81 class ProfileSyncFactory; |
| 82 class ProfileSyncService; |
| 83 class ProfileSyncService; |
78 class PromoCounter; | 84 class PromoCounter; |
79 class ProfileSyncService; | 85 class PromoCounter; |
80 class ProfileSyncFactory; | 86 class SQLitePersistentCookieStore; |
| 87 class SSLConfigServiceManager; |
| 88 class SSLHostState; |
81 class SessionService; | 89 class SessionService; |
82 class SpellCheckHost; | 90 class SpellCheckHost; |
83 class SSLConfigServiceManager; | |
84 class SSLHostState; | |
85 class StatusTray; | 91 class StatusTray; |
86 class TransportSecurityPersister; | |
87 class SQLitePersistentCookieStore; | |
88 class TabRestoreService; | 92 class TabRestoreService; |
89 class TemplateURLFetcher; | 93 class TemplateURLFetcher; |
90 class TemplateURLModel; | 94 class TemplateURLModel; |
91 class ThemeProvider; | 95 class ThemeProvider; |
92 class TokenService; | 96 class TokenService; |
| 97 class TransportSecurityPersister; |
93 class URLRequestContextGetter; | 98 class URLRequestContextGetter; |
94 class UserScriptMaster; | 99 class UserScriptMaster; |
95 class UserStyleSheetWatcher; | 100 class UserStyleSheetWatcher; |
| 101 class VisitedLinkEventListener; |
96 class VisitedLinkMaster; | 102 class VisitedLinkMaster; |
97 class VisitedLinkEventListener; | |
98 class WebDataService; | 103 class WebDataService; |
99 class WebKitContext; | 104 class WebKitContext; |
100 class WebResourceService; | 105 class WebResourceService; |
101 | 106 |
102 typedef intptr_t ProfileId; | 107 typedef intptr_t ProfileId; |
103 | 108 |
104 class Profile { | 109 class Profile { |
105 public: | 110 public: |
106 // Profile services are accessed with the following parameter. This parameter | 111 // Profile services are accessed with the following parameter. This parameter |
107 // defines what the caller plans to do with the service. | 112 // defines what the caller plans to do with the service. |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 // Returns the DownloadManager associated with this profile. | 296 // Returns the DownloadManager associated with this profile. |
292 virtual DownloadManager* GetDownloadManager() = 0; | 297 virtual DownloadManager* GetDownloadManager() = 0; |
293 virtual bool HasCreatedDownloadManager() const = 0; | 298 virtual bool HasCreatedDownloadManager() const = 0; |
294 | 299 |
295 // Returns the PersonalDataManager associated with this profile. | 300 // Returns the PersonalDataManager associated with this profile. |
296 virtual PersonalDataManager* GetPersonalDataManager() = 0; | 301 virtual PersonalDataManager* GetPersonalDataManager() = 0; |
297 | 302 |
298 // Returns the FileSystemContext associated to this profile. The context | 303 // Returns the FileSystemContext associated to this profile. The context |
299 // is lazily created the first time this method is called. This is owned | 304 // is lazily created the first time this method is called. This is owned |
300 // by the profile. | 305 // by the profile. |
301 virtual BrowserFileSystemContext* GetFileSystemContext() = 0; | 306 virtual fileapi::SandboxedFileSystemContext* GetFileSystemContext() = 0; |
302 | 307 |
303 // Returns the BrowserSignin object assigned to this profile. | 308 // Returns the BrowserSignin object assigned to this profile. |
304 virtual BrowserSignin* GetBrowserSignin() = 0; | 309 virtual BrowserSignin* GetBrowserSignin() = 0; |
305 | 310 |
306 // Init our themes system. | 311 // Init our themes system. |
307 virtual void InitThemes() = 0; | 312 virtual void InitThemes() = 0; |
308 | 313 |
309 // Set the theme to the specified extension. | 314 // Set the theme to the specified extension. |
310 virtual void SetTheme(const Extension* extension) = 0; | 315 virtual void SetTheme(const Extension* extension) = 0; |
311 | 316 |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 bool restored_last_session_; | 550 bool restored_last_session_; |
546 | 551 |
547 // Accessibility events will only be propagated when the pause | 552 // Accessibility events will only be propagated when the pause |
548 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 553 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
549 // increment and decrement the level, respectively, rather than set it to | 554 // increment and decrement the level, respectively, rather than set it to |
550 // true or false, so that calls can be nested. | 555 // true or false, so that calls can be nested. |
551 int accessibility_pause_level_; | 556 int accessibility_pause_level_; |
552 }; | 557 }; |
553 | 558 |
554 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 559 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |