diff options
author | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-20 21:54:41 +0000 |
---|---|---|
committer | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-20 21:54:41 +0000 |
commit | fdc76195de53719adc66df4aee6488e02b476c24 (patch) | |
tree | 053298bc43d4bfbf1599c787c79fc9b4c3446099 /chrome/browser/autocomplete/extension_app_provider.cc | |
parent | 91765737273790b4decc392da2441c3bb1e3f25c (diff) | |
download | chromium_src-fdc76195de53719adc66df4aee6488e02b476c24.zip chromium_src-fdc76195de53719adc66df4aee6488e02b476c24.tar.gz chromium_src-fdc76195de53719adc66df4aee6488e02b476c24.tar.bz2 |
Replace NOTIFICATION_EXTENSION_LOADED to NOTIFICATION_EXTENSION_LOADED_DEPRECATED
to have bidirect with NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED.
This CL is the result of below script, and 'git cl format'.
find -regex '.*/.*\.\(mm\|cc\|h\)$' | xargs sed -i s/NOTIFICATION_EXTENSION_LOADED/NOTIFICATION_EXTENSION_LOADED_DEPRECATED/g
BUG=354367
Review URL: https://codereview.chromium.org/242613004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/extension_app_provider.cc')
-rw-r--r-- | chrome/browser/autocomplete/extension_app_provider.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/extension_app_provider.cc b/chrome/browser/autocomplete/extension_app_provider.cc index 709789d..f29b991 100644 --- a/chrome/browser/autocomplete/extension_app_provider.cc +++ b/chrome/browser/autocomplete/extension_app_provider.cc @@ -34,7 +34,8 @@ ExtensionAppProvider::ExtensionAppProvider( // Notifications of extensions loading and unloading always come from the // non-incognito profile, but we need to see them regardless, as the incognito // windows can be affected. - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, + registrar_.Add(this, + chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED, content::Source<Profile>(profile_->GetOriginalProfile())); registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, content::Source<Profile>(profile_->GetOriginalProfile())); |