summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 00:41:08 +0000
committerhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 00:41:08 +0000
commit92dd8d9098630afb9768bb4f8d2f14596919641b (patch)
tree33b48f9aef57f6bdcfc0e72ec5619539a1a2325c /chrome/common
parent39af20a68318ad297d6a889ecb7dae67080cd89f (diff)
downloadchromium_src-92dd8d9098630afb9768bb4f8d2f14596919641b.zip
chromium_src-92dd8d9098630afb9768bb4f8d2f14596919641b.tar.gz
chromium_src-92dd8d9098630afb9768bb4f8d2f14596919641b.tar.bz2
Add runtime.onBrowserUpdateAvailable event.
BUG=177029 TEST=manually verified on device that event is received when a new image is available on my dev update server. Review URL: https://chromiumcodereview.appspot.com/12316006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/api/runtime.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/runtime.json b/chrome/common/extensions/api/runtime.json
index a35ed1e..6608dc6 100644
--- a/chrome/common/extensions/api/runtime.json
+++ b/chrome/common/extensions/api/runtime.json
@@ -307,6 +307,12 @@
]
},
{
+ "name": "onBrowserUpdateAvailable",
+ "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",
"unprivileged": true,