Commit bf42268f authored by Nigel Tao's avatar Nigel Tao Committed by Commit Bot

Remove unused installWebstoreItem declaration

It (chrome.fileManagerPrivate.installWebstoreItem) seems superseded by
chrome.webstoreWidgetPrivate.installWebstoreItem (note the middle term
changed from fMP to wWP), defined in
ui/file_manager/externs/chrome_webstore_widget_private.js

Test: "ninja ui/file_manager:closure_compile" runs without error
Bug: 613096
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I5ca1049baef3a4cf7a66170092179bfef0af4c49
Reviewed-on: https://chromium-review.googlesource.com/1089593Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Reviewed-by: default avatarSasha Morrissey <sashab@chromium.org>
Commit-Queue: Nigel Tao <nigeltao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565536}
parent 9c6adc3d
...@@ -963,10 +963,10 @@ chrome.fileManagerPrivate.onDriveSyncError; ...@@ -963,10 +963,10 @@ chrome.fileManagerPrivate.onDriveSyncError;
/** @type {!ChromeEvent} */ /** @type {!ChromeEvent} */
chrome.fileManagerPrivate.onAppsUpdated; chrome.fileManagerPrivate.onAppsUpdated;
/* The two declarations below (EntryAction, installWebstoreItem) don't have any /* The declaration below (EntryAction) doesn't have any corresponding entry in
* corresponding entry in the file_manager_private.idl file. * the file_manager_private.idl file.
* *
* TODO(nigeltao): delete them. * TODO(nigeltao): delete it.
*/ */
/** /**
...@@ -976,14 +976,3 @@ chrome.fileManagerPrivate.onAppsUpdated; ...@@ -976,14 +976,3 @@ chrome.fileManagerPrivate.onAppsUpdated;
* }} * }}
*/ */
var EntryAction; var EntryAction;
/**
* Requests to install a webstore item. |item_id| The id of the item to
* install. |silentInstallation| False to show installation prompt. True not to
* show. |callback|
* @param {string} itemId
* @param {boolean} silentInstallation
* @param {function()} callback Callback that does not take arguments.
*/
chrome.fileManagerPrivate.installWebstoreItem = function(
itemId, silentInstallation, callback) {};
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