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

Side by Side Diff: chrome/common/extensions/api/experimental_push_messaging.idl

Issue 10828087: Add skeleton implementation of ExtensionPushMessagingEventRouter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // File-level comment to appease parser. Eventually this will not be necessary.
6
7 namespace experimental.pushMessaging{
Mihai Parparita -not on Chrome 2012/08/01 20:05:50 Add a [nodoc] annotation for now, so that people d
dcheng 2012/08/01 21:15:33 Done.
8 dictionary Message {
9 // The subchannel the message was sent on.
10 long subchannel;
Mihai Parparita -not on Chrome 2012/08/01 20:05:50 ID fields in API structures generally have an Id s
dcheng 2012/08/01 21:15:33 Done.
11
12 // The payload associated with the message, if any.
13 DOMString payload;
14 };
15
16 interface Events {
17 // Fired when a push message has been received.
18 // |message| : The details associated with the message.
19 static void onMessage(Message message);
20 };
21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698