summaryrefslogtreecommitdiffstats
path: root/extensions/browser/lazy_background_task_queue.cc
diff options
context:
space:
mode:
authorkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 20:24:05 +0000
committerkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 20:24:05 +0000
commitec87053e297a4e3f8368f17c05937f9c96602676 (patch)
tree9de4fdc0797a5ee297bc34e1a15630f5c19434c2 /extensions/browser/lazy_background_task_queue.cc
parenta220c5d19358e4f00a37192e6aab06de12df047e (diff)
downloadchromium_src-ec87053e297a4e3f8368f17c05937f9c96602676.zip
chromium_src-ec87053e297a4e3f8368f17c05937f9c96602676.tar.gz
chromium_src-ec87053e297a4e3f8368f17c05937f9c96602676.tar.bz2
Rename NOTIFICATION_EXTENSION_UNLOADED to
NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED since ExtensionRegistry::AddObserver replaces it. BUG=354046 R=rockot@chromium.org TBR=sky@chromium.org Review URL: https://codereview.chromium.org/204703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/lazy_background_task_queue.cc')
-rw-r--r--extensions/browser/lazy_background_task_queue.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/browser/lazy_background_task_queue.cc b/extensions/browser/lazy_background_task_queue.cc
index dde744f..5d55f4b 100644
--- a/extensions/browser/lazy_background_task_queue.cc
+++ b/extensions/browser/lazy_background_task_queue.cc
@@ -32,7 +32,7 @@ LazyBackgroundTaskQueue::LazyBackgroundTaskQueue(
content::NotificationService::AllBrowserContextsAndSources());
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_HOST_DESTROYED,
content::NotificationService::AllBrowserContextsAndSources());
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
content::Source<content::BrowserContext>(browser_context));
}
@@ -162,7 +162,7 @@ void LazyBackgroundTaskQueue::Observe(
}
break;
}
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: {
// Notify consumers that the page failed to load.
content::BrowserContext* browser_context =
content::Source<content::BrowserContext>(source).ptr();