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

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

Issue 2481233004: Rename SchemaRegistry::SetReady to SetDomainReady (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
« 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 bd4e5e7961fe715dc787fa8d0bae7b3904dc1bba..5df0599c6ce8e9392988ccf80a1bd5a384e0d29d 100644
--- a/components/policy/core/common/schema_registry_unittest.cc
+++ b/components/policy/core/common/schema_registry_unittest.cc
@@ -121,11 +121,11 @@ TEST(SchemaRegistryTest, IsReady) {
EXPECT_FALSE(registry.IsReady());
#endif
EXPECT_CALL(observer, OnSchemaRegistryReady());
- registry.SetReady(POLICY_DOMAIN_CHROME);
+ registry.SetDomainReady(POLICY_DOMAIN_CHROME);
Mock::VerifyAndClearExpectations(&observer);
EXPECT_TRUE(registry.IsReady());
EXPECT_CALL(observer, OnSchemaRegistryReady()).Times(0);
- registry.SetReady(POLICY_DOMAIN_CHROME);
+ registry.SetDomainReady(POLICY_DOMAIN_CHROME);
Mock::VerifyAndClearExpectations(&observer);
EXPECT_TRUE(registry.IsReady());
@@ -277,7 +277,7 @@ TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {
EXPECT_FALSE(registry->IsReady());
EXPECT_FALSE(forwarding.IsReady());
- registry->SetReady(POLICY_DOMAIN_CHROME);
+ registry->SetDomainReady(POLICY_DOMAIN_CHROME);
EXPECT_TRUE(registry->IsReady());
// The ForwardingSchemaRegistry becomes ready independently of the wrapped
// registry.
@@ -291,7 +291,7 @@ TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {
Mock::VerifyAndClearExpectations(&observer);
EXPECT_CALL(observer, OnSchemaRegistryReady());
- forwarding.SetReady(POLICY_DOMAIN_CHROME);
+ forwarding.SetDomainReady(POLICY_DOMAIN_CHROME);
EXPECT_TRUE(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