| 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_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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 } | 42 } |
| 43 | 43 |
| 44 class AutocompleteClassifier; | 44 class AutocompleteClassifier; |
| 45 class BackgroundContentsService; | 45 class BackgroundContentsService; |
| 46 class BookmarkModel; | 46 class BookmarkModel; |
| 47 class BrowserSignin; | 47 class BrowserSignin; |
| 48 class ChromeAppCacheService; | 48 class ChromeAppCacheService; |
| 49 class ChromeBlobStorageContext; | 49 class ChromeBlobStorageContext; |
| 50 class ChromeURLDataManager; | 50 class ChromeURLDataManager; |
| 51 class CloudPrintProxyService; | 51 class CloudPrintProxyService; |
| 52 class DesktopNotificationService; |
| 52 class DownloadManager; | 53 class DownloadManager; |
| 53 class Extension; | 54 class Extension; |
| 54 class ExtensionDevToolsManager; | 55 class ExtensionDevToolsManager; |
| 55 class ExtensionEventRouter; | 56 class ExtensionEventRouter; |
| 56 class ExtensionInfoMap; | 57 class ExtensionInfoMap; |
| 57 class ExtensionMessageService; | 58 class ExtensionMessageService; |
| 58 class ExtensionPrefValueMap; | 59 class ExtensionPrefValueMap; |
| 59 class ExtensionProcessManager; | 60 class ExtensionProcessManager; |
| 60 class ExtensionService; | 61 class ExtensionService; |
| 61 class ExtensionSpecialStoragePolicy; | 62 class ExtensionSpecialStoragePolicy; |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 virtual SpellCheckHost* GetSpellCheckHost() = 0; | 443 virtual SpellCheckHost* GetSpellCheckHost() = 0; |
| 443 | 444 |
| 444 // If |force| is false, and the spellchecker is already initialized (or is in | 445 // If |force| is false, and the spellchecker is already initialized (or is in |
| 445 // the process of initializing), then do nothing. Otherwise clobber the | 446 // the process of initializing), then do nothing. Otherwise clobber the |
| 446 // current spellchecker and replace it with a new one. | 447 // current spellchecker and replace it with a new one. |
| 447 virtual void ReinitializeSpellCheckHost(bool force) = 0; | 448 virtual void ReinitializeSpellCheckHost(bool force) = 0; |
| 448 | 449 |
| 449 // Returns the WebKitContext assigned to this profile. | 450 // Returns the WebKitContext assigned to this profile. |
| 450 virtual WebKitContext* GetWebKitContext() = 0; | 451 virtual WebKitContext* GetWebKitContext() = 0; |
| 451 | 452 |
| 453 // Returns the provider of desktop notifications for this profile. |
| 454 virtual DesktopNotificationService* GetDesktopNotificationService() = 0; |
| 455 |
| 452 // Returns the service that manages BackgroundContents for this profile. | 456 // Returns the service that manages BackgroundContents for this profile. |
| 453 virtual BackgroundContentsService* GetBackgroundContentsService() const = 0; | 457 virtual BackgroundContentsService* GetBackgroundContentsService() const = 0; |
| 454 | 458 |
| 455 // Returns the StatusTray, which provides an API for displaying status icons | 459 // Returns the StatusTray, which provides an API for displaying status icons |
| 456 // in the system status tray. Returns NULL if status icons are not supported | 460 // in the system status tray. Returns NULL if status icons are not supported |
| 457 // on this platform (or this is a unit test). | 461 // on this platform (or this is a unit test). |
| 458 virtual StatusTray* GetStatusTray() = 0; | 462 virtual StatusTray* GetStatusTray() = 0; |
| 459 | 463 |
| 460 // Marks the profile as cleanly shutdown. | 464 // Marks the profile as cleanly shutdown. |
| 461 // | 465 // |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 bool restored_last_session_; | 583 bool restored_last_session_; |
| 580 | 584 |
| 581 // Accessibility events will only be propagated when the pause | 585 // Accessibility events will only be propagated when the pause |
| 582 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 586 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 583 // increment and decrement the level, respectively, rather than set it to | 587 // increment and decrement the level, respectively, rather than set it to |
| 584 // true or false, so that calls can be nested. | 588 // true or false, so that calls can be nested. |
| 585 int accessibility_pause_level_; | 589 int accessibility_pause_level_; |
| 586 }; | 590 }; |
| 587 | 591 |
| 588 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 592 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |