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

Unified Diff: chrome/browser/automation/automation_browser_tracker.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/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));
}
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/automation/automation_extension_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698