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

Unified Diff: components/component_updater/default_component_installer_unittest.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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 432b41ba31ccb328944fa0ff1e73ca7ca8da3fea..604533228139e1154dfbd4f0e66884d30c5ef38d 100644
--- a/components/component_updater/default_component_installer_unittest.cc
+++ b/components/component_updater/default_component_installer_unittest.cc
@@ -82,9 +82,10 @@ class FakeInstallerTraits : public ComponentInstallerTraits {
bool RequiresNetworkEncryption() const override { return true; }
- bool OnCustomInstall(const base::DictionaryValue& manifest,
- const base::FilePath& install_dir) override {
- return true;
+ update_client::CrxInstaller::Result OnCustomInstall(
+ const base::DictionaryValue& manifest,
+ const base::FilePath& install_dir) override {
+ return update_client::CrxInstaller::Result(0);
}
void ComponentReady(

Powered by Google App Engine
This is Rietveld 408576698