Index: chrome/browser/chromeos/tab_closeable_state_watcher.cc |
=================================================================== |
--- chrome/browser/chromeos/tab_closeable_state_watcher.cc (revision 91880) |
+++ chrome/browser/chromeos/tab_closeable_state_watcher.cc (working copy) |
@@ -70,7 +70,7 @@ |
switches::kGuestSession)), |
waiting_for_browser_(false) { |
BrowserList::AddObserver(this); |
- notification_registrar_.Add(this, NotificationType::APP_EXITING, |
+ notification_registrar_.Add(this, chrome::APP_EXITING, |
NotificationService::AllSources()); |
} |
@@ -187,9 +187,9 @@ |
//////////////////////////////////////////////////////////////////////////////// |
// TabCloseableStateWatcher, NotificationObserver implementation: |
-void TabCloseableStateWatcher::Observe(NotificationType type, |
+void TabCloseableStateWatcher::Observe(int type, |
const NotificationSource& source, const NotificationDetails& details) { |
- if (type.value != NotificationType::APP_EXITING) |
+ if (type != chrome::APP_EXITING) |
NOTREACHED(); |
if (!signing_off_) { |
signing_off_ = true; |
@@ -260,7 +260,7 @@ |
// Notify of change in tab closeable state. |
NotificationService::current()->Notify( |
- NotificationType::TAB_CLOSEABLE_STATE_CHANGED, |
+ chrome::TAB_CLOSEABLE_STATE_CHANGED, |
NotificationService::AllSources(), |
Details<bool>(&can_close_tab_)); |
} |