| Index: chrome/browser/ui/web_applications/web_app_ui.cc
|
| ===================================================================
|
| --- chrome/browser/ui/web_applications/web_app_ui.cc (revision 91968)
|
| +++ chrome/browser/ui/web_applications/web_app_ui.cc (working copy)
|
| @@ -44,7 +44,7 @@
|
|
|
| private:
|
| // Overridden from NotificationObserver:
|
| - virtual void Observe(NotificationType type,
|
| + virtual void Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details);
|
|
|
| @@ -99,7 +99,7 @@
|
| &unprocessed_icons_);
|
| file_name_ = web_app::internals::GetSanitizedFileName(shortcut_info_.title);
|
|
|
| - registrar_.Add(this, NotificationType::TAB_CLOSING,
|
| + registrar_.Add(this, content::NOTIFICATION_TAB_CLOSING,
|
| Source<NavigationController>(&tab_contents_->controller()));
|
| }
|
|
|
| @@ -108,10 +108,10 @@
|
| DownloadIcon();
|
| }
|
|
|
| -void UpdateShortcutWorker::Observe(NotificationType type,
|
| +void UpdateShortcutWorker::Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - if (type == NotificationType::TAB_CLOSING &&
|
| + if (type == content::NOTIFICATION_TAB_CLOSING &&
|
| Source<NavigationController>(source).ptr() ==
|
| &tab_contents_->controller()) {
|
| // Underlying tab is closing.
|
|
|