| 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 24 matching lines...) Expand all  Loading... | 
| 35 | 35 | 
| 36 namespace prerender { | 36 namespace prerender { | 
| 37 class PrerenderManager; | 37 class PrerenderManager; | 
| 38 } | 38 } | 
| 39 | 39 | 
| 40 namespace webkit_database { | 40 namespace webkit_database { | 
| 41 class DatabaseTracker; | 41 class DatabaseTracker; | 
| 42 } | 42 } | 
| 43 | 43 | 
| 44 class AutocompleteClassifier; | 44 class AutocompleteClassifier; | 
| 45 class BackgroundContentsService; |  | 
| 46 class BookmarkModel; | 45 class BookmarkModel; | 
| 47 class BrowserSignin; | 46 class BrowserSignin; | 
| 48 class ChromeAppCacheService; | 47 class ChromeAppCacheService; | 
| 49 class ChromeBlobStorageContext; | 48 class ChromeBlobStorageContext; | 
| 50 class ChromeURLDataManager; | 49 class ChromeURLDataManager; | 
| 51 class CloudPrintProxyService; | 50 class CloudPrintProxyService; | 
| 52 class DownloadManager; | 51 class DownloadManager; | 
| 53 class Extension; | 52 class Extension; | 
| 54 class ExtensionDevToolsManager; | 53 class ExtensionDevToolsManager; | 
| 55 class ExtensionEventRouter; | 54 class ExtensionEventRouter; | 
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 442   virtual SpellCheckHost* GetSpellCheckHost() = 0; | 441   virtual SpellCheckHost* GetSpellCheckHost() = 0; | 
| 443 | 442 | 
| 444   // If |force| is false, and the spellchecker is already initialized (or is in | 443   // If |force| is false, and the spellchecker is already initialized (or is in | 
| 445   // the process of initializing), then do nothing. Otherwise clobber the | 444   // the process of initializing), then do nothing. Otherwise clobber the | 
| 446   // current spellchecker and replace it with a new one. | 445   // current spellchecker and replace it with a new one. | 
| 447   virtual void ReinitializeSpellCheckHost(bool force) = 0; | 446   virtual void ReinitializeSpellCheckHost(bool force) = 0; | 
| 448 | 447 | 
| 449   // Returns the WebKitContext assigned to this profile. | 448   // Returns the WebKitContext assigned to this profile. | 
| 450   virtual WebKitContext* GetWebKitContext() = 0; | 449   virtual WebKitContext* GetWebKitContext() = 0; | 
| 451 | 450 | 
| 452   // Returns the service that manages BackgroundContents for this profile. |  | 
| 453   virtual BackgroundContentsService* GetBackgroundContentsService() const = 0; |  | 
| 454 |  | 
| 455   // Returns the StatusTray, which provides an API for displaying status icons | 451   // 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 | 452   // in the system status tray. Returns NULL if status icons are not supported | 
| 457   // on this platform (or this is a unit test). | 453   // on this platform (or this is a unit test). | 
| 458   virtual StatusTray* GetStatusTray() = 0; | 454   virtual StatusTray* GetStatusTray() = 0; | 
| 459 | 455 | 
| 460   // Marks the profile as cleanly shutdown. | 456   // Marks the profile as cleanly shutdown. | 
| 461   // | 457   // | 
| 462   // NOTE: this is invoked internally on a normal shutdown, but is public so | 458   // NOTE: this is invoked internally on a normal shutdown, but is public so | 
| 463   // that it can be invoked when the user logs out/powers down (WM_ENDSESSION). | 459   // that it can be invoked when the user logs out/powers down (WM_ENDSESSION). | 
| 464   virtual void MarkAsCleanShutdown() = 0; | 460   virtual void MarkAsCleanShutdown() = 0; | 
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 579   bool restored_last_session_; | 575   bool restored_last_session_; | 
| 580 | 576 | 
| 581   // Accessibility events will only be propagated when the pause | 577   // Accessibility events will only be propagated when the pause | 
| 582   // level is zero.  PauseAccessibilityEvents and ResumeAccessibilityEvents | 578   // level is zero.  PauseAccessibilityEvents and ResumeAccessibilityEvents | 
| 583   // increment and decrement the level, respectively, rather than set it to | 579   // increment and decrement the level, respectively, rather than set it to | 
| 584   // true or false, so that calls can be nested. | 580   // true or false, so that calls can be nested. | 
| 585   int accessibility_pause_level_; | 581   int accessibility_pause_level_; | 
| 586 }; | 582 }; | 
| 587 | 583 | 
| 588 #endif  // CHROME_BROWSER_PROFILES_PROFILE_H_ | 584 #endif  // CHROME_BROWSER_PROFILES_PROFILE_H_ | 
| OLD | NEW | 
|---|