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

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

Issue 2440473004: Add policy domain for signin screen apps (Closed)
Patch Set: Fix compilation Created 4 years, 2 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
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..426e84a815669af07353992319fff7d94b7ab355 100644
--- a/components/policy/core/common/schema_registry_unittest.cc
+++ b/components/policy/core/common/schema_registry_unittest.cc
@@ -117,6 +117,7 @@ TEST(SchemaRegistryTest, IsReady) {
#if defined(ENABLE_EXTENSIONS)
EXPECT_CALL(observer, OnSchemaRegistryReady()).Times(0);
registry.SetReady(POLICY_DOMAIN_EXTENSIONS);
+ registry.SetReady(POLICY_DOMAIN_SIGNIN_EXTENSIONS);
Mock::VerifyAndClearExpectations(&observer);
EXPECT_FALSE(registry.IsReady());
#endif
@@ -274,6 +275,7 @@ TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {
EXPECT_FALSE(forwarding.IsReady());
registry->SetReady(POLICY_DOMAIN_EXTENSIONS);
+ registry->SetReady(POLICY_DOMAIN_SIGNIN_EXTENSIONS);
EXPECT_FALSE(registry->IsReady());
EXPECT_FALSE(forwarding.IsReady());
@@ -287,6 +289,7 @@ TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {
Mock::VerifyAndClearExpectations(&observer);
forwarding.SetReady(POLICY_DOMAIN_EXTENSIONS);
+ forwarding.SetReady(POLICY_DOMAIN_SIGNIN_EXTENSIONS);
EXPECT_FALSE(forwarding.IsReady());
Mock::VerifyAndClearExpectations(&observer);

Powered by Google App Engine
This is Rietveld 408576698