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

Unified Diff: chrome/browser/component_updater/file_type_policies_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/file_type_policies_component_installer.cc
diff --git a/chrome/browser/component_updater/file_type_policies_component_installer.cc b/chrome/browser/component_updater/file_type_policies_component_installer.cc
index 06e076a3c47969baf22a12642c8788da38c09f83..b38f5d620b8a3f3d04ad86dacdd5b1193fc74a4d 100644
--- a/chrome/browser/component_updater/file_type_policies_component_installer.cc
+++ b/chrome/browser/component_updater/file_type_policies_component_installer.cc
@@ -66,11 +66,10 @@
return false;
}
-update_client::CrxInstaller::Result
-FileTypePoliciesComponentInstallerTraits::OnCustomInstall(
+bool FileTypePoliciesComponentInstallerTraits::OnCustomInstall(
const base::DictionaryValue& manifest,
const base::FilePath& install_dir) {
- return update_client::CrxInstaller::Result(0); // Nothing custom here.
+ return true; // Nothing custom here.
}
base::FilePath FileTypePoliciesComponentInstallerTraits::GetInstalledPath(

Powered by Google App Engine
This is Rietveld 408576698