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

Unified Diff: components/policy/core/common/schema_registry_unittest.cc

Issue 2440473004: Add policy domain for signin screen apps (Closed)
Patch Set: More comments according to feedback 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
« no previous file with comments | « components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/schema_registry_unittest.cc
diff --git a/components/policy/core/common/schema_registry_unittest.cc b/components/policy/core/common/schema_registry_unittest.cc
index 3d53d96295b34d2b93d97821b7595b4c0584a95d..bd4e5e7961fe715dc787fa8d0bae7b3904dc1bba 100644
--- a/components/policy/core/common/schema_registry_unittest.cc
+++ b/components/policy/core/common/schema_registry_unittest.cc
@@ -116,7 +116,7 @@ TEST(SchemaRegistryTest, IsReady) {
EXPECT_FALSE(registry.IsReady());
#if defined(ENABLE_EXTENSIONS)
EXPECT_CALL(observer, OnSchemaRegistryReady()).Times(0);
- registry.SetReady(POLICY_DOMAIN_EXTENSIONS);
+ registry.SetExtensionsDomainsReady();
Mock::VerifyAndClearExpectations(&observer);
EXPECT_FALSE(registry.IsReady());
#endif
@@ -273,7 +273,7 @@ TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {
EXPECT_FALSE(registry->IsReady());
EXPECT_FALSE(forwarding.IsReady());
- registry->SetReady(POLICY_DOMAIN_EXTENSIONS);
+ registry->SetExtensionsDomainsReady();
EXPECT_FALSE(registry->IsReady());
EXPECT_FALSE(forwarding.IsReady());
@@ -286,7 +286,7 @@ TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {
EXPECT_TRUE(SchemaMapEquals(registry->schema_map(), forwarding.schema_map()));
Mock::VerifyAndClearExpectations(&observer);
- forwarding.SetReady(POLICY_DOMAIN_EXTENSIONS);
+ forwarding.SetExtensionsDomainsReady();
EXPECT_FALSE(forwarding.IsReady());
Mock::VerifyAndClearExpectations(&observer);
« no previous file with comments | « components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698