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

Unified Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc

Issue 11414230: Declarative Web Request: firstPartyForCookiesUrl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added event order Created 8 years 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_rule.cc
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc
index 896a577c779e5c3c5b97133f795b826a796b8a76..595ffedb98da5f7348d0fced9647e72c1085c096 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc
@@ -72,6 +72,7 @@ bool WebRequestRule::CheckConsistency(
// static
scoped_ptr<WebRequestRule> WebRequestRule::Create(
URLMatcherConditionFactory* url_matcher_condition_factory,
+ URLMatcherConditionFactory* first_party_url_matcher_condition_factory,
const std::string& extension_id,
base::Time extension_installation_time,
linked_ptr<RulesRegistry::Rule> rule,
@@ -79,8 +80,9 @@ scoped_ptr<WebRequestRule> WebRequestRule::Create(
scoped_ptr<WebRequestRule> error_result;
scoped_ptr<WebRequestConditionSet> conditions =
- WebRequestConditionSet::Create(
- url_matcher_condition_factory, rule->conditions, error);
+ WebRequestConditionSet::Create(url_matcher_condition_factory,
+ first_party_url_matcher_condition_factory,
+ rule->conditions, error);
if (!error->empty())
return error_result.Pass();
CHECK(conditions.get());

Powered by Google App Engine
This is Rietveld 408576698