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

Unified Diff: chrome/common/extensions/api/experimental_push_messaging.idl

Issue 10836182: Obfuscated Gaia ID fetcher (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: More style fixes per Munjal and DCheng Created 8 years, 4 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/common/extensions/api/experimental_push_messaging.idl
diff --git a/chrome/common/extensions/api/experimental_push_messaging.idl b/chrome/common/extensions/api/experimental_push_messaging.idl
index 1a27433dfbbc5d75b3cc838dc7f3fd98261b8d1c..4ee64ecfe91d5d9f628537ca2d889337ead74715 100644
--- a/chrome/common/extensions/api/experimental_push_messaging.idl
+++ b/chrome/common/extensions/api/experimental_push_messaging.idl
@@ -13,6 +13,23 @@
DOMString payload;
};
+ dictionary ChannelIdResult {
+ // The subchannel the message was sent on.
+ long status;
+
+ // The payload associated with the message, if any.
+ DOMString channelId;
+ };
+
+ callback ChannelIdCallback = void (ChannelIdResult channelId);
+
+ interface Functions {
+ // Retrieves the channel ID associated with this extension. Typically, an
+ // extension will want to send this value to its application server so the
+ // server can use it to trigger push messages back to the extension.
+ static void getChannelId(ChannelIdCallback callback);
+ };
+
interface Events {
// Fired when a push message has been received.
// |message| : The details associated with the message.

Powered by Google App Engine
This is Rietveld 408576698