Index: chrome/browser/automation/automation_browser_tracker.cc |
=================================================================== |
--- chrome/browser/automation/automation_browser_tracker.cc (revision 91968) |
+++ chrome/browser/automation/automation_browser_tracker.cc (working copy) |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/automation/automation_browser_tracker.h" |
+#include "chrome/common/chrome_notification_types.h" |
#include "content/common/notification_source.h" |
AutomationBrowserTracker::AutomationBrowserTracker( |
@@ -14,11 +15,11 @@ |
AutomationBrowserTracker::~AutomationBrowserTracker() {} |
void AutomationBrowserTracker::AddObserver(Browser* resource) { |
- registrar_.Add(this, NotificationType::BROWSER_CLOSED, |
+ registrar_.Add(this, chrome::NOTIFICATION_BROWSER_CLOSED, |
Source<Browser>(resource)); |
} |
void AutomationBrowserTracker::RemoveObserver(Browser* resource) { |
- registrar_.Remove(this, NotificationType::BROWSER_CLOSED, |
+ registrar_.Remove(this, chrome::NOTIFICATION_BROWSER_CLOSED, |
Source<Browser>(resource)); |
} |