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

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

Issue 392233003: Cleanups to the policy code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/policy/core/common/schema_registry.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 847a4173a9ba8a001e7e2c7a7b3f5abfa67ff5b9..631c980c310d98062089b081c0e3beb8d84da793 100644
--- a/components/policy/core/common/schema_registry_unittest.cc
+++ b/components/policy/core/common/schema_registry_unittest.cc
@@ -272,11 +272,9 @@ TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {
EXPECT_FALSE(registry->IsReady());
EXPECT_FALSE(forwarding.IsReady());
-#if defined(ENABLE_EXTENSIONS)
registry->SetReady(POLICY_DOMAIN_EXTENSIONS);
EXPECT_FALSE(registry->IsReady());
EXPECT_FALSE(forwarding.IsReady());
-#endif
registry->SetReady(POLICY_DOMAIN_CHROME);
EXPECT_TRUE(registry->IsReady());
« no previous file with comments | « components/policy/core/common/schema_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698