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

Unified Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h

Issue 11414230: Declarative Web Request: firstPartyForCookiesUrl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on the new templates Created 7 years, 11 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_webrequest/webrequest_rules_registry.h
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h
index 9746a9b7d7f5ece1825898a539dfdf264d9d5444..41569f0995e323fd4a091df9fb1b60f5fb966f52 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h
@@ -126,7 +126,8 @@ class WebRequestRulesRegistry : public RulesRegistryWithCache {
RulesMap;
// Map that tells us which WebRequestRule may match under the condition that
- // the URLMatcherConditionSet::ID was returned by the |url_matcher_|.
+ // the URLMatcherConditionSet::ID was returned by the |url_matcher_| or
+ // |first_party_url_matcher_|.
RuleTriggers rule_triggers_;
// These rules contain condition sets with conditions without URL attributes.
@@ -137,6 +138,7 @@ class WebRequestRulesRegistry : public RulesRegistryWithCache {
RulesMap webrequest_rules_;
URLMatcher url_matcher_;
+ URLMatcher first_party_url_matcher_;
scoped_refptr<ExtensionInfoMap> extension_info_map_;
};

Powered by Google App Engine
This is Rietveld 408576698