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

Unified Diff: chrome/browser/component_updater/sth_set_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/sth_set_component_installer.cc
diff --git a/chrome/browser/component_updater/sth_set_component_installer.cc b/chrome/browser/component_updater/sth_set_component_installer.cc
index b1b06d3f2412e2093cb5565cd82b219c394528c1..f6ac974ee3dd6071f89fbeaa57ace29b27826761 100644
--- a/chrome/browser/component_updater/sth_set_component_installer.cc
+++ b/chrome/browser/component_updater/sth_set_component_installer.cc
@@ -65,11 +65,10 @@
return false;
}
-update_client::CrxInstaller::Result
-STHSetComponentInstallerTraits::OnCustomInstall(
+bool STHSetComponentInstallerTraits::OnCustomInstall(
const base::DictionaryValue& manifest,
const base::FilePath& install_dir) {
- return update_client::CrxInstaller::Result(0); // Nothing custom here.
+ return true; // Nothing custom here.
}
void STHSetComponentInstallerTraits::ComponentReady(

Powered by Google App Engine
This is Rietveld 408576698