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

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: CR changes 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..75106b3bfffb42bf1a991ab9ce67c76533409d4d 100644
--- a/chrome/common/extensions/api/experimental_push_messaging.idl
+++ b/chrome/common/extensions/api/experimental_push_messaging.idl
@@ -13,6 +13,22 @@
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 {
+ // Async calculate the channel ID for the app to give to its push server
dcheng 2012/08/20 19:10:01 These comments will end up in the generated docume
Pete Williamson 2012/08/20 20:53:05 Done.
+ // the callback function recieves the channel ID as a string
+ 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