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

Unified Diff: ui/file_manager/file_manager/foreground/js/app_installer.js

Issue 437593006: Video Player: Install the cast API extension if it is not installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test Created 6 years, 4 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: ui/file_manager/file_manager/foreground/js/app_installer.js
diff --git a/ui/file_manager/file_manager/foreground/js/app_installer.js b/ui/file_manager/file_manager/foreground/js/app_installer.js
index 7914d6e458f5930d5d3aa29979e75f8bd7830be5..ce3ff70377ca416d5b9d480fd7c76599a03f381c 100644
--- a/ui/file_manager/file_manager/foreground/js/app_installer.js
+++ b/ui/file_manager/file_manager/foreground/js/app_installer.js
@@ -52,6 +52,7 @@ AppInstaller.prototype.install = function(callback) {
this.callback_ = callback;
chrome.fileBrowserPrivate.installWebstoreItem(
this.itemId_,
+ false, // Shows installation prompt.
function() {
this.onInstallCompleted_(chrome.runtime.lastError);
}.bind(this));
« no previous file with comments | « ui/file_manager/file_manager/background/js/test_util.js ('k') | ui/file_manager/video_player/js/cast/caster.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698