| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "gcm", | 7 "namespace": "gcm", |
| 8 "description": "Use <code>chrome.gcm</code> to enable apps and extensions to
send and receive messages through the <a href='http://developer.android.com/goo
gle/gcm/'>Google Cloud Messaging Service</a>.", | 8 "description": "Use <code>chrome.gcm</code> to enable apps and extensions to
send and receive messages through the <a href='http://developer.android.com/goo
gle/gcm/'>Google Cloud Messaging Service</a>.", |
| 9 "compiler_options": {"use_movable_types": true}, | |
| 10 "properties": { | 9 "properties": { |
| 11 "MAX_MESSAGE_SIZE": { | 10 "MAX_MESSAGE_SIZE": { |
| 12 "value": 4096, | 11 "value": 4096, |
| 13 "description": "The maximum size (in bytes) of all key/value pairs in a
message." | 12 "description": "The maximum size (in bytes) of all key/value pairs in a
message." |
| 14 } | 13 } |
| 15 }, | 14 }, |
| 16 "functions": [ | 15 "functions": [ |
| 17 { | 16 { |
| 18 "name": "register", | 17 "name": "register", |
| 19 "type": "function", | 18 "type": "function", |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 "description": "Additional details related to the error, when av
ailable." | 175 "description": "Additional details related to the error, when av
ailable." |
| 177 } | 176 } |
| 178 }, | 177 }, |
| 179 "description": "An error that occured while trying to send the messa
ge either in Chrome or on the GCM server. Application can retry sending the mess
age with a reasonable backoff and possibly longer time-to-live." | 178 "description": "An error that occured while trying to send the messa
ge either in Chrome or on the GCM server. Application can retry sending the mess
age with a reasonable backoff and possibly longer time-to-live." |
| 180 } | 179 } |
| 181 ] | 180 ] |
| 182 } | 181 } |
| 183 ] | 182 ] |
| 184 } | 183 } |
| 185 ] | 184 ] |
| OLD | NEW |