| Index: chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc (revision 91771)
|
| +++ chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc (working copy)
|
| @@ -89,9 +89,9 @@
|
| // fired, but all of the EXTENSION_LOADED Observers have run. Only then can we
|
| // be sure that a browser action or page action has had views created which we
|
| // can inspect for the purpose of pointing to them.
|
| - registrar_.Add(this, NotificationType::EXTENSION_LOADED,
|
| + registrar_.Add(this, chrome::EXTENSION_LOADED,
|
| Source<Profile>(browser->profile()));
|
| - registrar_.Add(this, NotificationType::EXTENSION_UNLOADED,
|
| + registrar_.Add(this, chrome::EXTENSION_UNLOADED,
|
| Source<Profile>(browser->profile()));
|
| }
|
|
|
| @@ -100,14 +100,14 @@
|
| void ExtensionInstalledBubbleGtk::Observe(NotificationType type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - if (type == NotificationType::EXTENSION_LOADED) {
|
| + if (type == chrome::EXTENSION_LOADED) {
|
| const Extension* extension = Details<const Extension>(details).ptr();
|
| if (extension == extension_) {
|
| // PostTask to ourself to allow all EXTENSION_LOADED Observers to run.
|
| MessageLoopForUI::current()->PostTask(FROM_HERE, NewRunnableMethod(this,
|
| &ExtensionInstalledBubbleGtk::ShowInternal));
|
| }
|
| - } else if (type == NotificationType::EXTENSION_UNLOADED) {
|
| + } else if (type == chrome::EXTENSION_UNLOADED) {
|
| const Extension* extension =
|
| Details<UnloadedExtensionInfo>(details)->extension;
|
| if (extension == extension_)
|
|
|