Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: chrome/browser/profiles/profile.h

Issue 6914021: Modifying the BackgroundModeManager to handle multiple profiles. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
90 class TemplateURLFetcher; 89 class TemplateURLFetcher;
91 class TemplateURLModel; 90 class TemplateURLModel;
92 class TokenService; 91 class TokenService;
93 class TransportSecurityPersister; 92 class TransportSecurityPersister;
94 class UserScriptMaster; 93 class UserScriptMaster;
95 class UserStyleSheetWatcher; 94 class UserStyleSheetWatcher;
96 class VisitedLinkEventListener; 95 class VisitedLinkEventListener;
97 class VisitedLinkMaster; 96 class VisitedLinkMaster;
98 class WebDataService; 97 class WebDataService;
99 class WebKitContext; 98 class WebKitContext;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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
459 // Marks the profile as cleanly shutdown. 453 // Marks the profile as cleanly shutdown.
460 // 454 //
461 // NOTE: this is invoked internally on a normal shutdown, but is public so 455 // NOTE: this is invoked internally on a normal shutdown, but is public so
462 // that it can be invoked when the user logs out/powers down (WM_ENDSESSION). 456 // that it can be invoked when the user logs out/powers down (WM_ENDSESSION).
463 virtual void MarkAsCleanShutdown() = 0; 457 virtual void MarkAsCleanShutdown() = 0;
464 458
465 // Initializes extensions machinery. 459 // Initializes extensions machinery.
466 // Component extensions are always enabled, external and user extensions 460 // Component extensions are always enabled, external and user extensions
467 // are controlled by |extensions_enabled|. 461 // are controlled by |extensions_enabled|.
468 virtual void InitExtensions(bool extensions_enabled) = 0; 462 virtual void InitExtensions(bool extensions_enabled) = 0;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 bool restored_last_session_; 572 bool restored_last_session_;
579 573
580 // Accessibility events will only be propagated when the pause 574 // Accessibility events will only be propagated when the pause
581 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 575 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
582 // increment and decrement the level, respectively, rather than set it to 576 // increment and decrement the level, respectively, rather than set it to
583 // true or false, so that calls can be nested. 577 // true or false, so that calls can be nested.
584 int accessibility_pause_level_; 578 int accessibility_pause_level_;
585 }; 579 };
586 580
587 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 581 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698