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

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

Issue 10941003: Reset registered events and dispatch runtime.onInstalled to all extensions when (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ? Created 8 years, 3 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
Index: chrome/common/extensions/api/runtime.json
diff --git a/chrome/common/extensions/api/runtime.json b/chrome/common/extensions/api/runtime.json
index bc35782345d004354f4e76782fa3c2e22a4339ca..8e30e5399cc39a4809a99a8d1219d81470a0269f 100644
--- a/chrome/common/extensions/api/runtime.json
+++ b/chrome/common/extensions/api/runtime.json
@@ -90,7 +90,7 @@
{
"name": "onInstalled",
"type": "function",
- "description": "Fired when the extension is first installed, and on each update to a new version.",
+ "description": "Fired when the extension is first installed, when the extension is updated to a new version, and when Chrome is updated to a new version.",
"parameters": [
{
"type": "object",
@@ -98,7 +98,7 @@
"properties": {
"reason": {
"type": "string",
- "enum": ["install", "update"],
+ "enum": ["install", "update", "chrome_update"],
"description": "The reason that this event is being dispatched."
},
"previousVersion": {

Powered by Google App Engine
This is Rietveld 408576698