Chromium Code Reviews| Index: chrome/common/extensions/api/runtime.json |
| diff --git a/chrome/common/extensions/api/runtime.json b/chrome/common/extensions/api/runtime.json |
| index ad655e114396891b6f2bf5bd7a4161912e76bc15..b7fc2c69d8173a84d336f41eca4110996fa63d6b 100644 |
| --- a/chrome/common/extensions/api/runtime.json |
| +++ b/chrome/common/extensions/api/runtime.json |
| @@ -352,12 +352,6 @@ |
| ] |
| }, |
| { |
| - "name": "onBrowserUpdateAvailable", |
|
Matt Perry
2013/06/20 22:42:14
This API has already made it out to the stable cha
xiyuan
2013/06/21 16:50:56
Restored.
|
| - "type": "function", |
| - "description": "Fired when a Chrome update is available, but isn't installed immediately because a browser restart is required.", |
| - "parameters": [] |
| - }, |
| - { |
| "name": "onConnect", |
| "type": "function", |
| "nocompile": true, |
| @@ -408,10 +402,20 @@ |
| "optional": "true", |
| "description": "Return true from the event listener if you wish to call <code>sendResponse</code> after the event listener returns." |
| } |
| + }, |
| + { |
| + "name": "onRestartRequired", |
| + "type": "function", |
| + "description": "Fired when an app needs to be restarted. The app should close all its windows at its earliest convenient time to let the restart to happen. If the app does nothing, a restart will be enforced after a 24-hour grace period has passed. Currently, this event is only fired for Chrome OS kiosk apps.", |
| + "parameters": [ |
| + { |
| + "type": "string", |
| + "name": "reason", |
| + "description": "The reason that the event is being dispatched.", |
| + "enum": ["app_update","os_update","periodic"] |
|
bartfab (slow)
2013/06/21 06:27:58
Is it intentional that there are no spaces after t
xiyuan
2013/06/21 16:50:56
Nope and fixed.
|
| + } |
| + ] |
| } |
| - |
| - |
| - |
| ] |
| } |
| ] |