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

Unified Diff: chrome/browser/component_updater/ev_whitelist_component_installer.cc

Issue 2483513002: Revert of Makes the component installers return a Result instead of a bool. (Closed)
Patch Set: Created 4 years, 1 month 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/component_updater/ev_whitelist_component_installer.cc
diff --git a/chrome/browser/component_updater/ev_whitelist_component_installer.cc b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
index 5ec703504526566884f321b35a3865de7ab5134d..4a602f706777fb9eed207044c87511b79a34df18 100644
--- a/chrome/browser/component_updater/ev_whitelist_component_installer.cc
+++ b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
@@ -81,13 +81,12 @@
return false;
}
-update_client::CrxInstaller::Result
-EVWhitelistComponentInstallerTraits::OnCustomInstall(
+bool EVWhitelistComponentInstallerTraits::OnCustomInstall(
const base::DictionaryValue& manifest,
const base::FilePath& install_dir) {
VLOG(1) << "Entering EVWhitelistComponentInstallerTraits::OnCustomInstall.";
- return update_client::CrxInstaller::Result(0); // Nothing custom here.
+ return true; // Nothing custom here.
}
base::FilePath EVWhitelistComponentInstallerTraits::GetInstalledPath(

Powered by Google App Engine
This is Rietveld 408576698