Commit ac4efffc authored by Devlin Cronin's avatar Devlin Cronin Committed by Commit Bot

[Extensions] De-compile webstore.json

webstore.json describes inline installation, which is now deprecated and
removed. Remove it from the build so we don't generate schemas items.
Leave the file in the source tree for posterity, but update each item to
include the "deprecated" field.

Bug: 882045

Change-Id: Ic9652df2c18c277fcf130a71fb9da494e2e257e0
Reviewed-on: https://chromium-review.googlesource.com/c/1298116Reviewed-by: default avatarKaran Bhatia <karandeepb@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602889}
parent 6f82585f
......@@ -56,7 +56,6 @@ generated_json_strings("generated_api_json_strings") {
"proxy.json",
"tts.json",
"tts_engine.json",
"webstore.json",
]
if (is_chromeos) {
sources += [ "file_browser_handler.json" ]
......
......@@ -11,7 +11,8 @@
"id": "InstallStage",
"type": "string",
"enum": ["installing", "downloading"],
"description": "Enum used to indicate the stage of the installation process. 'downloading' indicates that the necessary files are being downloaded, and 'installing' indicates that the files are downloaded and are being actively installed."
"description": "Enum used to indicate the stage of the installation process. 'downloading' indicates that the necessary files are being downloaded, and 'installing' indicates that the files are downloaded and are being actively installed.",
"deprecated": "Inline installation is deprecated."
},
{
"id": "ErrorCode",
......@@ -89,7 +90,8 @@
"description": "A launch of the same extension is in progress.",
"name": "launchInProgress"
}
]
],
"deprecated": "Inline installation is deprecated."
}
], // types
"events": [
......@@ -103,7 +105,8 @@
"$ref": "InstallStage",
"description": "The InstallStage that just began."
}
]
],
"deprecated": "Inline installation is deprecated."
}, // onInstallStageChanged
{
"name": "onDownloadProgress",
......@@ -115,7 +118,8 @@
"type": "number",
"description": "The progress of the download, between 0 and 1. 0 indicates no progress; 1.0 indicates complete."
}
]
],
"deprecated": "Inline installation is deprecated."
} // onDownloadProgress
], // events
"functions": [
......@@ -155,7 +159,8 @@
],
"description": "This function is invoked when inline installation does not successfully complete. Possible reasons for this include the user canceling the dialog, the linked item not being found in the store, or the install being initiated from a non-verified site."
}
]
],
"deprecated": "Inline installation is deprecated."
} // install
] // functions
} // webstore
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment