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

Unified Diff: chrome/browser/background_application_list_model.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/background_application_list_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/background_application_list_model.h
===================================================================
--- chrome/browser/background_application_list_model.h (revision 86624)
+++ chrome/browser/background_application_list_model.h (working copy)
@@ -32,11 +32,12 @@
public:
// Invoked when data that the model associates with the extension, such as
// the Icon, has changed.
- virtual void OnApplicationDataChanged(const Extension* extension);
+ virtual void OnApplicationDataChanged(const Extension* extension,
+ Profile* profile);
// Invoked when the model detects a previously unknown extension and/or when
// it no longer detects a previously known extension.
- virtual void OnApplicationListChanged();
+ virtual void OnApplicationListChanged(Profile* profile);
protected:
virtual ~Observer();
@@ -110,11 +111,11 @@
// Notifies observers that some of the data associated with this background
// application, e. g. the Icon, has changed.
- void OnApplicationDataChanged(const Extension* extension);
+ void SendApplicationDataChangedNotifications(const Extension* extension);
// Notifies observers that at least one background application has been added
// or removed.
- void OnApplicationListChanged();
+ void SendApplicationListChangedNotifications();
// Invoked by Observe for EXTENSION_LOADED notifications.
void OnExtensionLoaded(Extension* extension);
« no previous file with comments | « no previous file | chrome/browser/background_application_list_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698