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

Unified Diff: chrome/browser/sync/util/extensions_activity_monitor.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/sync/util/extensions_activity_monitor.cc
===================================================================
--- chrome/browser/sync/util/extensions_activity_monitor.cc (revision 91968)
+++ chrome/browser/sync/util/extensions_activity_monitor.cc (working copy)
@@ -6,6 +6,7 @@
#include "base/task.h"
#include "chrome/browser/extensions/extension_bookmarks_module.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/extensions/extension.h"
#include "content/browser/browser_thread.h"
#include "content/common/notification_service.h"
@@ -31,7 +32,8 @@
// the fly so there is no reliable object to point to (same problem if we
// wanted to use the string name). Thus, we use all sources and filter in
// Observe.
- registrar_->Add(monitor_, NotificationType::EXTENSION_BOOKMARKS_API_INVOKED,
+ registrar_->Add(monitor_,
+ chrome::NOTIFICATION_EXTENSION_BOOKMARKS_API_INVOKED,
NotificationService::AllSources());
}
@@ -78,7 +80,7 @@
}
}
-void ExtensionsActivityMonitor::Observe(NotificationType type,
+void ExtensionsActivityMonitor::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
base::AutoLock lock(records_lock_);

Powered by Google App Engine
This is Rietveld 408576698