Index: chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc |
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc b/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc |
index 70e0e6baa2ee36794c85f009eb76c7ac5c1db156..2ea5e6943ff6b4584f3a9939f02141c2d619548d 100644 |
--- a/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc |
+++ b/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc |
@@ -206,10 +206,10 @@ TEST_F(RulesRegistryWithCacheTest, GetAllRules) { |
EXPECT_EQ(2u, gotten_rules.size()); |
ASSERT_TRUE(gotten_rules[0]->id.get()); |
ASSERT_TRUE(gotten_rules[1]->id.get()); |
- EXPECT_TRUE( (kRuleId == *(gotten_rules[0]->id) && |
- kRule2Id == *(gotten_rules[1]->id)) || |
- (kRuleId == *(gotten_rules[1]->id) && |
- kRule2Id == *(gotten_rules[0]->id)) ); |
+ EXPECT_TRUE((kRuleId == *(gotten_rules[0]->id) && |
+ kRule2Id == *(gotten_rules[1]->id)) || |
+ (kRuleId == *(gotten_rules[1]->id) && |
+ kRule2Id == *(gotten_rules[0]->id)) ); |
} |
TEST_F(RulesRegistryWithCacheTest, OnExtensionUninstalled) { |
@@ -328,7 +328,7 @@ TEST_F(RulesRegistryWithCacheTest, RulesPreservedAcrossRestart) { |
// TODO(vabr): Once some API using declarative rules enters the stable |
// channel, make sure to use that API here, and remove |channel|. |
- ScopedCurrentChannel channel(chrome::VersionInfo::CHANNEL_UNKNOWN); |
+ ScopedCurrentChannel channel(version_info::Channel::UNKNOWN); |
ExtensionService* extension_service = env_.GetExtensionService(); |