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

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
Index: chrome/browser/background_application_list_model.h
===================================================================
--- chrome/browser/background_application_list_model.h (revision 85413)
+++ 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 OnApplicationDataChanged(const Extension* extension, Profile* profile);
Andrew T Wilson (Slow) 2011/05/20 00:22:09 I'm curious why we need to pass in the Profile her
rpetterson 2011/05/20 05:53:17 I also commented on the other comment. But Backgro
Andrew T Wilson (Slow) 2011/05/20 16:52:45 So, I think you still need to pass a Profile to Ba
rpetterson 2011/05/23 03:23:19 Done.
// Notifies observers that at least one background application has been added
// or removed.
- void OnApplicationListChanged();
+ void OnApplicationListChanged(Profile* profile);
// Invoked by Observe for EXTENSION_LOADED notifications.
void OnExtensionLoaded(Extension* extension);

Powered by Google App Engine
This is Rietveld 408576698