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

Unified Diff: components/component_updater/default_component_installer_unittest.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: components/component_updater/default_component_installer_unittest.cc
diff --git a/components/component_updater/default_component_installer_unittest.cc b/components/component_updater/default_component_installer_unittest.cc
index 604533228139e1154dfbd4f0e66884d30c5ef38d..432b41ba31ccb328944fa0ff1e73ca7ca8da3fea 100644
--- a/components/component_updater/default_component_installer_unittest.cc
+++ b/components/component_updater/default_component_installer_unittest.cc
@@ -82,10 +82,9 @@
bool RequiresNetworkEncryption() const override { return true; }
- update_client::CrxInstaller::Result OnCustomInstall(
- const base::DictionaryValue& manifest,
- const base::FilePath& install_dir) override {
- return update_client::CrxInstaller::Result(0);
+ bool OnCustomInstall(const base::DictionaryValue& manifest,
+ const base::FilePath& install_dir) override {
+ return true;
}
void ComponentReady(
« no previous file with comments | « components/component_updater/default_component_installer.cc ('k') | components/update_client/action_update.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698