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

Unified Diff: extensions/browser/notification_types.h

Issue 823703004: Tracking push events for lucid sleep (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Version 2 with NotificationService Created 5 years, 11 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: extensions/browser/notification_types.h
diff --git a/extensions/browser/notification_types.h b/extensions/browser/notification_types.h
index 6eee02e235b6e2f82c7c6d55c34b8e8498cb18f0..0508012e7309d706fc1e03758011c9fdedb01309 100644
--- a/extensions/browser/notification_types.h
+++ b/extensions/browser/notification_types.h
@@ -209,6 +209,16 @@ enum NotificationType {
// Sent when there are new user scripts available. The details are a
// pointer to SharedMemory containing the new scripts.
NOTIFICATION_USER_SCRIPTS_UPDATED,
+
+ // Sent when a message is dispatched to an extension renderer. The source is
+ // a BrowserContext* the details are an EventRouter::DispatchDetails.
+ NOTIFICATION_EXTENSION_MESSAGE_DISPATCHED,
+
+ // Sent when a previously dispatched message is acked by the extension
+ // renderer. The source is a BrowserContext* and the details are an int
+ // hoding the message id.
Ken Rockot(use gerrit already) 2015/01/08 01:24:02 nit: "holding" I assume
+ NOTIFICATION_EXTENSION_MESSAGE_ACKED,
+
NOTIFICATION_EXTENSIONS_END
};

Powered by Google App Engine
This is Rietveld 408576698