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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 8194005: Relanding: Add js api for hosted/packaged apps to request notification authorization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | « chrome/chrome_tests.gypi ('k') | chrome/renderer/extensions/chrome_app_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index cb22831a5468b33a44e379356d67d708059920b8..9a5da31cb3e0217076be53e3656d407f1a6e08ea 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -324,6 +324,19 @@ IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse,
bool /* whether the install was successful */,
std::string /* error */)
+// Sent by the renderer when an App is requesting permission to send server
+// pushed notifications.
+IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppNotifyChannel,
+ int32 /* request_id */,
+ GURL /* requestor_url */,
+ std::string /* client_id */)
+
+// Response to the renderer for the above message.
+IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse,
+ int32 /* request_id */,
+ std::string /* channel_id */,
+ std::string /* error */)
+
// Deliver a message sent with ExtensionHostMsg_PostMessage.
IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage,
int /* target_port_id */,
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/extensions/chrome_app_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698