Chromium Code Reviews| Index: chrome/common/extensions/api/gcm.json |
| diff --git a/chrome/common/extensions/api/gcm.json b/chrome/common/extensions/api/gcm.json |
| index c0c77341ba4a6b016a580b43c927125bd532751b..24e3bd6726fb951ac3961c8c59dbcc21af66dcf2 100644 |
| --- a/chrome/common/extensions/api/gcm.json |
| +++ b/chrome/common/extensions/api/gcm.json |
| @@ -16,17 +16,12 @@ |
| { |
| "name": "register", |
| "type": "function", |
| - "description": "Registers the application with GCM. The registration ID will be returned by the <code>callback</code>. If <code>register</code> is called again with the same list of <code>senderIds</code>, the same registration ID will be returned.", |
| + "description": "Registers the application with GCM. The registration ID will be returned by the <code>callback</code>.", |
|
not at google - send to devlin
2014/02/28 22:36:48
The comment you removed explained what happened wh
fgorski
2014/03/03 23:14:16
Done. I've brought the statement back adjusted for
|
| "parameters": [ |
| { |
| - "name": "senderIds", |
| - "type": "array", |
| - "items": { |
| - "type": "string", |
| - "minLength": 1 |
| - }, |
| - "minItems": 1, |
| - "maxItems": 100, |
| + "name": "senderId", |
| + "type": "string", |
| + "minLength": 1, |
| "description": "A list of server IDs that are allowed to send messages to the application. It should contain at least one and no more than 100 sender IDs." |
|
not at google - send to devlin
2014/02/28 22:36:48
This description needs an overhaul.
fgorski
2014/03/03 23:14:16
Done.
|
| }, |
| { |
| @@ -34,7 +29,7 @@ |
| "type": "function", |
| "description": "Function called when registration completes. It should check $(ref:runtime.lastError) for error when <code>registrationId</code> is empty.", |
| "parameters": [ |
| - { |
| + { |
| "name": "registrationId", |
| "type": "string", |
| "description": "A registration ID assigned to the application by the GCM." |