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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc

Issue 141473004: Random cleanup for c/b/cros/extensions/file_manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/extensions/file_manager/private_api_misc.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
index 9a2de0c60a56f91a80f252aba56eba14e0be15ae..56cf062c3e871257d3e0f29291c8168dbf8663ac 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
@@ -263,7 +263,7 @@ bool FileBrowserPrivateInstallWebstoreItemFunction::RunImpl() {
scoped_refptr<file_manager::AppInstaller> installer(
new file_manager::AppInstaller(
- GetAssociatedWebContents(), // web_contents(),
+ GetAssociatedWebContents(),
params->item_id,
GetProfile(),
callback));
@@ -284,7 +284,7 @@ void FileBrowserPrivateInstallWebstoreItemFunction::OnInstallComplete(
"App install failed. (item id: %s, reason: %s)",
webstore_item_id_.c_str(),
error.c_str());
- error_ = error;
+ SetError(error);
}
SendResponse(success);

Powered by Google App Engine
This is Rietveld 408576698