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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_rules_registry.h

Issue 344433003: Prepare declarativeContent API for new script injection feature. Added Javascript types and functio… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up declarative_content.json and store RequestContentScript data in action object 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
Index: chrome/browser/extensions/api/declarative_content/content_rules_registry.h
diff --git a/chrome/browser/extensions/api/declarative_content/content_rules_registry.h b/chrome/browser/extensions/api/declarative_content/content_rules_registry.h
index 9224374a7ee358dcc6e100be0aac06b2723ea685..4cc30cc70032d9712c3faa24c75fc2c1e9dde5a9 100644
--- a/chrome/browser/extensions/api/declarative_content/content_rules_registry.h
+++ b/chrome/browser/extensions/api/declarative_content/content_rules_registry.h
@@ -64,7 +64,9 @@ class ContentRulesRegistry : public RulesRegistry,
public:
// For testing, |ui_part| can be NULL. In that case it constructs the
// registry with storage functionality suspended.
- ContentRulesRegistry(Profile* profile, RulesCacheDelegate* cache_delegate);
+ ContentRulesRegistry(Profile* profile,
+ const std::string& event_name,
+ RulesCacheDelegate* cache_delegate);
// Applies all content rules given an update (CSS match change or
// page navigation, for now) from the renderer.

Powered by Google App Engine
This is Rietveld 408576698