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

Unified Diff: components/component_updater/default_component_installer_unittest.cc

Issue 2292463004: Fix DefaultComponentInstaller::FinishRegistration and group policy. (Closed)
Patch Set: nop Created 4 years, 4 months 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
« no previous file with comments | « components/component_updater/default_component_installer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c9d3c551aa599f4511733f5e8bafacc6faaea3d2..3fe484da80fb450dfe0c75efe402a2da95fd94c8 100644
--- a/components/component_updater/default_component_installer_unittest.cc
+++ b/components/component_updater/default_component_installer_unittest.cc
@@ -76,7 +76,7 @@ class FakeInstallerTraits : public ComponentInstallerTraits {
}
bool SupportsGroupPolicyEnabledComponentUpdates() const override {
- return false;
+ return true;
}
bool RequiresNetworkEncryption() const override { return true; }
@@ -229,6 +229,7 @@ TEST_F(DefaultComponentInstallerTest, RegisterComponent) {
EXPECT_STREQ("fake name", component.name.c_str());
EXPECT_EQ(expected_attrs, component.installer_attributes);
EXPECT_TRUE(component.requires_network_encryption);
+ EXPECT_TRUE(component.supports_group_policy_enable_component_updates);
}
} // namespace component_updater
« no previous file with comments | « components/component_updater/default_component_installer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698