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