| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1a27433dfbbc5d75b3cc838dc7f3fd98261b8d1c
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/api/experimental_push_messaging.idl
|
| @@ -0,0 +1,21 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// File-level comment to appease parser. Eventually this will not be necessary.
|
| +
|
| +[nodoc] namespace experimental.pushMessaging{
|
| + dictionary Message {
|
| + // The subchannel the message was sent on.
|
| + long subchannelId;
|
| +
|
| + // The payload associated with the message, if any.
|
| + DOMString payload;
|
| + };
|
| +
|
| + interface Events {
|
| + // Fired when a push message has been received.
|
| + // |message| : The details associated with the message.
|
| + static void onMessage(Message message);
|
| + };
|
| +};
|
|
|