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

Unified Diff: chrome/browser/component_updater/origin_trials_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/origin_trials_component_installer.cc
diff --git a/chrome/browser/component_updater/origin_trials_component_installer.cc b/chrome/browser/component_updater/origin_trials_component_installer.cc
index 08712ea056ae433565bba6733c19a4b5650bdd84..e1dfaeb5495131b7ca0cfc766c98c24c5061c5d1 100644
--- a/chrome/browser/component_updater/origin_trials_component_installer.cc
+++ b/chrome/browser/component_updater/origin_trials_component_installer.cc
@@ -68,11 +68,10 @@
return false;
}
-update_client::CrxInstaller::Result
-OriginTrialsComponentInstallerTraits::OnCustomInstall(
+bool OriginTrialsComponentInstallerTraits::OnCustomInstall(
const base::DictionaryValue& manifest,
const base::FilePath& install_dir) {
- return update_client::CrxInstaller::Result(0);
+ return true;
}
void OriginTrialsComponentInstallerTraits::ComponentReady(

Powered by Google App Engine
This is Rietveld 408576698