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

Unified Diff: chrome/browser/chromeos/file_manager/app_installer.cc

Issue 384823002: Introduce a stable set of errors for inline install (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace printf with vlog(1) in unrelated code so it passes presubmit Created 6 years, 5 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/browser/chromeos/file_manager/app_installer.cc
diff --git a/chrome/browser/chromeos/file_manager/app_installer.cc b/chrome/browser/chromeos/file_manager/app_installer.cc
index dc1fd4a8e0d8fc77ed73455052ededfaabd5e65b..18ffcd52bc5f82da3d793813a7a71c8f2a0296a7 100644
--- a/chrome/browser/chromeos/file_manager/app_installer.cc
+++ b/chrome/browser/chromeos/file_manager/app_installer.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/chromeos/file_manager/app_installer.h"
+#include "chrome/common/extensions/webstore_install_result.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
@@ -96,7 +97,9 @@ bool AppInstaller::CheckRequestorPermitted(
void AppInstaller::OnWebContentsDestroyed(
content::WebContents* web_contents) {
- callback_.Run(false, kWebContentsDestroyedError);
+ callback_.Run(false,
+ kWebContentsDestroyedError,
+ extensions::webstore_install::OTHER_ERROR);
AbortInstall();
}

Powered by Google App Engine
This is Rietveld 408576698