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

Unified Diff: chrome/browser/extensions/extension_infobar_delegate.cc

Issue 204703002: Rename NOTIFICATION_EXTENSION_UNLOADED to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: maybe upload wont do something bizarre this time Created 6 years, 9 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/extensions/extension_infobar_delegate.cc
diff --git a/chrome/browser/extensions/extension_infobar_delegate.cc b/chrome/browser/extensions/extension_infobar_delegate.cc
index 601da471cd15b2afb6a208246c8f5ba950dbf307..f5ae9680e6535c735dd53e0ce3b47aa78823fe7b 100644
--- a/chrome/browser/extensions/extension_infobar_delegate.cc
+++ b/chrome/browser/extensions/extension_infobar_delegate.cc
@@ -48,7 +48,7 @@ ExtensionInfoBarDelegate::ExtensionInfoBarDelegate(
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE,
content::Source<Profile>(browser->profile()));
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
content::Source<Profile>(browser->profile()));
height_ = std::max(0, height);
@@ -98,7 +98,7 @@ void ExtensionInfoBarDelegate::Observe(
content::Details<extensions::ExtensionHost>(details).ptr())
infobar()->RemoveSelf();
} else {
- DCHECK(type == chrome::NOTIFICATION_EXTENSION_UNLOADED);
+ DCHECK(type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED);
if (extension_ == content::Details<extensions::UnloadedExtensionInfo>(
details)->extension)
infobar()->RemoveSelf();
« no previous file with comments | « chrome/browser/extensions/extension_icon_image.cc ('k') | chrome/browser/extensions/extension_keybinding_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698