diff options
author | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-23 07:56:36 +0000 |
---|---|---|
committer | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-23 07:56:36 +0000 |
commit | 0403d4e525ff28c1ec88a4ea7f24092e5a6a712e (patch) | |
tree | 72db6420a5ba61a89695cb71f7143fb86687055f /extensions/browser | |
parent | c6692478a56a61e244a38d6313b97900d5cce969 (diff) | |
download | chromium_src-0403d4e525ff28c1ec88a4ea7f24092e5a6a712e.zip chromium_src-0403d4e525ff28c1ec88a4ea7f24092e5a6a712e.tar.gz chromium_src-0403d4e525ff28c1ec88a4ea7f24092e5a6a712e.tar.bz2 |
Rename NOTIFICATION_EXTENSION_INSTALLED to NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED
Since ExtensionRegistry::AddObserver replaces it.
This CL is the result of below script, and 'git cl format'.
find -regex '.*/.*\.\(mm\|cc\|h\)$' |
xargs sed -i s/NOTIFICATION_EXTENSION_INSTALLED/NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED/g
BUG=376293
Review URL: https://codereview.chromium.org/298883006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser')
-rw-r--r-- | extensions/browser/api/runtime/runtime_api.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/browser/api/runtime/runtime_api.cc b/extensions/browser/api/runtime/runtime_api.cc index d0323d0..6efd6fb 100644 --- a/extensions/browser/api/runtime/runtime_api.cc +++ b/extensions/browser/api/runtime/runtime_api.cc @@ -144,7 +144,7 @@ RuntimeAPI::RuntimeAPI(content::BrowserContext* context) chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED, content::Source<BrowserContext>(context)); registrar_.Add(this, - chrome::NOTIFICATION_EXTENSION_INSTALLED, + chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED, content::Source<BrowserContext>(context)); registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, @@ -177,7 +177,7 @@ void RuntimeAPI::Observe(int type, OnExtensionLoaded(extension); break; } - case chrome::NOTIFICATION_EXTENSION_INSTALLED: { + case chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED: { const Extension* extension = content::Details<const InstalledExtensionInfo>(details)->extension; OnExtensionInstalled(extension); |