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

Unified Diff: chrome/browser/component_updater/subresource_filter_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/subresource_filter_component_installer.cc
diff --git a/chrome/browser/component_updater/subresource_filter_component_installer.cc b/chrome/browser/component_updater/subresource_filter_component_installer.cc
index 8646899a3dc41a3a7b4388f502b6b019b42639f3..57db6ed2edd304581b7e636aa133fa7fb5de4020 100644
--- a/chrome/browser/component_updater/subresource_filter_component_installer.cc
+++ b/chrome/browser/component_updater/subresource_filter_component_installer.cc
@@ -80,11 +80,10 @@
return false;
}
-update_client::CrxInstaller::Result
-SubresourceFilterComponentInstallerTraits::OnCustomInstall(
+bool SubresourceFilterComponentInstallerTraits::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 SubresourceFilterComponentInstallerTraits::ComponentReady(

Powered by Google App Engine
This is Rietveld 408576698