| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 class PrefProxyConfigTracker; | 79 class PrefProxyConfigTracker; |
| 80 class PrefService; | 80 class PrefService; |
| 81 class ProfileSyncFactory; | 81 class ProfileSyncFactory; |
| 82 class ProfileSyncService; | 82 class ProfileSyncService; |
| 83 class PromoCounter; | 83 class PromoCounter; |
| 84 class ProtocolHandlerRegistry; | 84 class ProtocolHandlerRegistry; |
| 85 class SQLitePersistentCookieStore; | 85 class SQLitePersistentCookieStore; |
| 86 class SSLConfigServiceManager; | 86 class SSLConfigServiceManager; |
| 87 class SSLHostState; | 87 class SSLHostState; |
| 88 class SpellCheckHost; | 88 class SpellCheckHost; |
| 89 class StatusTray; |
| 89 class TemplateURLFetcher; | 90 class TemplateURLFetcher; |
| 90 class TemplateURLModel; | 91 class TemplateURLModel; |
| 91 class TokenService; | 92 class TokenService; |
| 92 class TransportSecurityPersister; | 93 class TransportSecurityPersister; |
| 93 class UserScriptMaster; | 94 class UserScriptMaster; |
| 94 class UserStyleSheetWatcher; | 95 class UserStyleSheetWatcher; |
| 95 class VisitedLinkEventListener; | 96 class VisitedLinkEventListener; |
| 96 class VisitedLinkMaster; | 97 class VisitedLinkMaster; |
| 97 class WebDataService; | 98 class WebDataService; |
| 98 class WebKitContext; | 99 class WebKitContext; |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 virtual SpellCheckHost* GetSpellCheckHost() = 0; | 444 virtual SpellCheckHost* GetSpellCheckHost() = 0; |
| 444 | 445 |
| 445 // If |force| is false, and the spellchecker is already initialized (or is in | 446 // If |force| is false, and the spellchecker is already initialized (or is in |
| 446 // the process of initializing), then do nothing. Otherwise clobber the | 447 // the process of initializing), then do nothing. Otherwise clobber the |
| 447 // current spellchecker and replace it with a new one. | 448 // current spellchecker and replace it with a new one. |
| 448 virtual void ReinitializeSpellCheckHost(bool force) = 0; | 449 virtual void ReinitializeSpellCheckHost(bool force) = 0; |
| 449 | 450 |
| 450 // Returns the WebKitContext assigned to this profile. | 451 // Returns the WebKitContext assigned to this profile. |
| 451 virtual WebKitContext* GetWebKitContext() = 0; | 452 virtual WebKitContext* GetWebKitContext() = 0; |
| 452 | 453 |
| 454 // Returns the StatusTray, which provides an API for displaying status icons |
| 455 // in the system status tray. Returns NULL if status icons are not supported |
| 456 // on this platform (or this is a unit test). |
| 457 virtual StatusTray* GetStatusTray() = 0; |
| 458 |
| 453 // Marks the profile as cleanly shutdown. | 459 // Marks the profile as cleanly shutdown. |
| 454 // | 460 // |
| 455 // NOTE: this is invoked internally on a normal shutdown, but is public so | 461 // NOTE: this is invoked internally on a normal shutdown, but is public so |
| 456 // that it can be invoked when the user logs out/powers down (WM_ENDSESSION). | 462 // that it can be invoked when the user logs out/powers down (WM_ENDSESSION). |
| 457 virtual void MarkAsCleanShutdown() = 0; | 463 virtual void MarkAsCleanShutdown() = 0; |
| 458 | 464 |
| 459 // Initializes extensions machinery. | 465 // Initializes extensions machinery. |
| 460 // Component extensions are always enabled, external and user extensions | 466 // Component extensions are always enabled, external and user extensions |
| 461 // are controlled by |extensions_enabled|. | 467 // are controlled by |extensions_enabled|. |
| 462 virtual void InitExtensions(bool extensions_enabled) = 0; | 468 virtual void InitExtensions(bool extensions_enabled) = 0; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 bool restored_last_session_; | 578 bool restored_last_session_; |
| 573 | 579 |
| 574 // Accessibility events will only be propagated when the pause | 580 // Accessibility events will only be propagated when the pause |
| 575 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 581 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 576 // increment and decrement the level, respectively, rather than set it to | 582 // increment and decrement the level, respectively, rather than set it to |
| 577 // true or false, so that calls can be nested. | 583 // true or false, so that calls can be nested. |
| 578 int accessibility_pause_level_; | 584 int accessibility_pause_level_; |
| 579 }; | 585 }; |
| 580 | 586 |
| 581 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 587 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |