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

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

Issue 6813116: Revert 81277 - Profile shouldn't own DesktopNotificationService.DesktopNotificationService is now... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_options_menu_model.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698