Index: chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc |
=================================================================== |
--- chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc (revision 260931) |
+++ chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc (working copy) |
@@ -191,7 +191,9 @@ |
WriteToStorage(extension_id); |
} |
-void GalleryWatchStateTracker::OnExtensionLoaded(const Extension* extension) { |
+void GalleryWatchStateTracker::OnExtensionLoaded( |
+ content::BrowserContext* browser_context, |
+ const Extension* extension) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
StateStore* storage = ExtensionSystem::Get(profile_)->state_store(); |
if (!storage) |
@@ -205,6 +207,7 @@ |
} |
void GalleryWatchStateTracker::OnExtensionUnloaded( |
+ content::BrowserContext* browser_context, |
const Extension* extension) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
if (!ContainsKey(watched_extensions_map_, extension->id())) |