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

Unified Diff: chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry_unittest.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
Index: chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry_unittest.cc
diff --git a/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry_unittest.cc b/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry_unittest.cc
index 97ed00817dc274701596cae6f83b978832f4638c..eb7ff39c4c9aa53a8c90444cda2293dbdeb056a3 100644
--- a/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry_unittest.cc
+++ b/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry_unittest.cc
@@ -51,8 +51,8 @@ TEST_F(DeclarativeChromeContentRulesRegistryTest, ActiveRulesDoesntGrow) {
EXPECT_EQ(0u, registry->GetActiveRulesCountForTesting());
// Add a rule.
- linked_ptr<core_api::events::Rule> rule(new core_api::events::Rule);
- core_api::events::Rule::Populate(
+ linked_ptr<api::events::Rule> rule(new api::events::Rule);
+ api::events::Rule::Populate(
*base::test::ParseJson(
"{\n"
" \"id\": \"rule1\",\n"
@@ -67,7 +67,7 @@ TEST_F(DeclarativeChromeContentRulesRegistryTest, ActiveRulesDoesntGrow) {
" ]\n"
"}"),
rule.get());
- std::vector<linked_ptr<core_api::events::Rule>> rules;
+ std::vector<linked_ptr<api::events::Rule>> rules;
rules.push_back(rule);
const Extension* extension = env()->MakeExtension(*base::test::ParseJson(

Powered by Google App Engine
This is Rietveld 408576698