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

Unified Diff: extensions/common/api/runtime.json

Issue 2070753003: Revert "Add a new app API to enable watchdog behavior restarts in kiosk apps" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/test_extensions_browser_client.cc ('k') | extensions/extensions_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/runtime.json
diff --git a/extensions/common/api/runtime.json b/extensions/common/api/runtime.json
index 0c28293971f44609e516d657973a977061b45002..c36c6c74879cf842697679a63fe10fed255c36a1 100644
--- a/extensions/common/api/runtime.json
+++ b/extensions/common/api/runtime.json
@@ -264,24 +264,6 @@
"parameters": []
},
{
- "name": "restartAfterDelay",
- "description": "Restart the ChromeOS device when the app runs in kiosk mode after the given seconds. If called again before the time ends, the reboot will be delayed. If called with a value of -1, the reboot will be cancelled. It's a no-op in non-kiosk mode. It's only allowed to be called repeatedly by the first extension to invoke this API.",
- "type": "function",
- "parameters": [
- {
- "type": "integer",
- "name": "seconds",
- "description": "Time to wait in seconds before rebooting the device, or -1 to cancel a scheduled reboot."
- },
- {
- "type": "function",
- "name": "callback",
- "description": "A callback to be invoked when a restart request was successfully rescheduled.",
- "optional": true
- }
- ]
- },
- {
"name": "connect",
"type": "function",
"nocompile": true,
« no previous file with comments | « extensions/browser/test_extensions_browser_client.cc ('k') | extensions/extensions_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698