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

Unified Diff: content/common/notification_registrar.h

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
« no previous file with comments | « content/common/notification_observer_mock.h ('k') | content/common/notification_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/notification_registrar.h
===================================================================
--- content/common/notification_registrar.h (revision 91968)
+++ content/common/notification_registrar.h (working copy)
@@ -9,7 +9,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "content/common/notification_type.h"
+#include "content/common/content_notification_types.h"
class NotificationObserver;
class NotificationSource;
@@ -30,10 +30,10 @@
// Wrappers around NotificationService::[Add|Remove]Observer.
void Add(NotificationObserver* observer,
- NotificationType type,
+ int type,
const NotificationSource& source);
void Remove(NotificationObserver* observer,
- NotificationType type,
+ int type,
const NotificationSource& source);
// Unregisters all notifications.
@@ -45,7 +45,7 @@
// Returns true if there is already a registered notification with the
// specified details.
bool IsRegistered(NotificationObserver* observer,
- NotificationType type,
+ int type,
const NotificationSource& source);
private:
« no previous file with comments | « content/common/notification_observer_mock.h ('k') | content/common/notification_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698