summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authormek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 20:45:52 +0000
committermek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 20:45:52 +0000
commit9b1e1cc023f835cb055c58e37bb63a5a170a20de (patch)
tree3b626ed502a0b684a87b9b6e0e08771e5f6c2df0 /extensions
parentd4a77c159b39aa5e04dae4b26d56b1cb7a08b0a0 (diff)
downloadchromium_src-9b1e1cc023f835cb055c58e37bb63a5a170a20de.zip
chromium_src-9b1e1cc023f835cb055c58e37bb63a5a170a20de.tar.gz
chromium_src-9b1e1cc023f835cb055c58e37bb63a5a170a20de.tar.bz2
Make onUpdateAvailable documentation clearer.
BUG=none NOTRY=true Review URL: https://codereview.chromium.org/286113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r--extensions/common/api/runtime.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/common/api/runtime.json b/extensions/common/api/runtime.json
index 6009576..a5a3255 100644
--- a/extensions/common/api/runtime.json
+++ b/extensions/common/api/runtime.json
@@ -377,7 +377,7 @@
{
"name": "onUpdateAvailable",
"type": "function",
- "description": "Fired when an update is available, but isn't installed immediately because the app is currently running. If you do nothing, the update will be installed the next time the background page gets unloaded, if you want it to be installed sooner you can explicitly call chrome.runtime.reload().",
+ "description": "Fired when an update is available, but isn't installed immediately because the app is currently running. If you do nothing, the update will be installed the next time the background page gets unloaded, if you want it to be installed sooner you can explicitly call chrome.runtime.reload(). If your extension is using a persistent background page, the background page of course never gets unloaded, so unless you call chrome.runtime.reload() manually in response to this event the update will not get installed until the next time chrome itself restarts. If no handlers are listening for this event, and your extension has a persistent background page, it behaves as if chrome.runtime.reload() is called in response to this event.",
"parameters": [
{
"type": "object",