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

Issue 11414230: Declarative Web Request: firstPartyForCookiesUrl (Closed)

Created:
8 years ago by vabr (Chromium)
Modified:
7 years, 11 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Declarative Web Request: firstPartyForCookiesUrl This adds a new URLMatcher attribute to declarative Web Request conditions. BUG=159576 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178882

Patch Set 1 : #

Patch Set 2 : De-inlined the constructor+destructor and rebased #

Patch Set 3 : Avoid HTTP 4xx tests. #

Patch Set 4 : Added event order #

Total comments: 23

Patch Set 5 : Rebased on the new templates #

Total comments: 22

Patch Set 6 : Easy comments addressed. :) #

Total comments: 10

Patch Set 7 : More checks and one more unit test #

Total comments: 1

Patch Set 8 : Back to one matcher #

Total comments: 4

Patch Set 9 : Got rid of the duplicated argument url_matches #

Patch Set 10 : Sync with trunk #

Total comments: 30

Patch Set 11 : Comments from Dominic and Jeffrey #

Total comments: 6

Patch Set 12 : Jeffrey's comments addressed #

Total comments: 2

Patch Set 13 : Rebased + attribute description in JSON changed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+494 lines, -332 lines) Patch
M chrome/browser/extensions/api/declarative/declarative_rule.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +21 lines, -37 lines 0 comments Download
M chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +19 lines, -20 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h View 1 2 3 4 5 6 7 8 9 10 16 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc View 1 2 3 4 5 6 7 8 9 10 13 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +26 lines, -26 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +66 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h View 1 2 3 4 5 6 7 8 9 10 8 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +34 lines, -35 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +75 lines, -51 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +28 lines, -18 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +110 lines, -72 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/declarative_web_request.json View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/webrequest/test_declarative.js View 1 2 3 4 5 6 7 8 9 10 6 chunks +49 lines, -11 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
vabr (Chromium)
Hi Dominic, Once you get out of the avalanche in your mailbox... :) Please take ...
8 years ago (2012-11-30 20:08:18 UTC) #1
vabr (Chromium)
On 2012/11/30 20:08:18, vabr (Chromium) wrote: > Hi Dominic, > > Once you get out ...
8 years ago (2012-11-30 22:55:18 UTC) #2
vabr (Chromium)
Hi Dominic, Please take a look at this new UrlFilter attribute for declarative Web Request ...
8 years ago (2012-12-06 16:39:17 UTC) #3
battre
+Jeffrey as he is working on some refactoring as well. Hi Vaclav, I have added ...
8 years ago (2012-12-06 19:53:26 UTC) #4
vabr (Chromium)
Hi Dominic, Thanks for your answer and all comments! Before I get to the other ...
8 years ago (2012-12-07 15:31:22 UTC) #5
battre (please use the other)
You are absolutely right. This was a wrong thought. Best regards, Dominic Am 07.12.2012 07:31 ...
8 years ago (2012-12-07 15:47:44 UTC) #6
battre
No, actually, I think this was correct. Let's chat later today or on Monday. Am ...
8 years ago (2012-12-07 15:51:18 UTC) #7
vabr (Chromium)
:) Feel free to ping me any time. Vaclav On 2012/12/07 15:51:18, battre wrote: > ...
8 years ago (2012-12-07 17:13:35 UTC) #8
Jeffrey Yasskin
I only got through the tests and interfaces here. Some of these comments may be ...
8 years ago (2012-12-18 03:09:58 UTC) #9
vabr (Chromium)
Dominic, Jeffrey, Thanks for your patience with this. Could you take another look? Cheers, Vaclav ...
7 years, 11 months ago (2013-01-21 10:57:48 UTC) #10
battre
https://codereview.chromium.org/11414230/diff/29011/chrome/browser/extensions/api/declarative/declarative_rule.h File chrome/browser/extensions/api/declarative/declarative_rule.h (right): https://codereview.chromium.org/11414230/diff/29011/chrome/browser/extensions/api/declarative/declarative_rule.h#newcode36 chrome/browser/extensions/api/declarative/declarative_rule.h:36: // // Arguments passed through from ConditionSet::Create. can you ...
7 years, 11 months ago (2013-01-21 17:32:08 UTC) #11
vabr (Chromium)
NOT READY FOR REVIEW YET -- NO RESPONSE REQUIRED YET This is only a partial ...
7 years, 11 months ago (2013-01-21 18:39:29 UTC) #12
Jeffrey Yasskin
On Mon, Jan 21, 2013 at 10:33 PM, Václav Brožek <vabr@google.com> wrote: > I chose ...
7 years, 11 months ago (2013-01-22 08:21:06 UTC) #13
vabr (Chromium)
Dominic, Now I addressed all your comments, please take a look. Jeffrey, Please feel free ...
7 years, 11 months ago (2013-01-22 08:34:53 UTC) #14
vabr (Chromium)
Dominic, Jeffrey, So I finally understood the idea of Jeffrey, and tried to implement this ...
7 years, 11 months ago (2013-01-22 14:54:30 UTC) #15
vabr (Chromium)
Update: After talking to Dominic, I removed the redundant argument url_matches for IsFulfilled. This will ...
7 years, 11 months ago (2013-01-23 17:08:14 UTC) #16
Jeffrey Yasskin
On Wed, Jan 23, 2013 at 9:08 AM, <vabr@chromium.org> wrote: > Update: > After talking ...
7 years, 11 months ago (2013-01-23 17:22:44 UTC) #17
battre
This is great. Much simpler and yet fast! I have one final suggestion. https://codereview.chromium.org/11414230/diff/27033/chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc File ...
7 years, 11 months ago (2013-01-23 18:56:34 UTC) #18
Jeffrey Yasskin
LGTM. After considering the comments below, don't worry about waiting for another LGTM from me ...
7 years, 11 months ago (2013-01-24 00:39:17 UTC) #19
vabr (Chromium)
Hi Jeffrey and Dominic, I'm just going through the comments, but would like a quick ...
7 years, 11 months ago (2013-01-24 08:31:01 UTC) #20
battre
On 2013/01/24 08:31:01, vabr (Chromium) wrote: > Hi Jeffrey and Dominic, > > I'm just ...
7 years, 11 months ago (2013-01-24 09:44:21 UTC) #21
vabr (Chromium)
Dominic, Jeffrey, I'm sorry to bother you once again, but please take a look. Jeffrey, ...
7 years, 11 months ago (2013-01-24 18:24:08 UTC) #22
Jeffrey Yasskin
lgtm https://codereview.chromium.org/11414230/diff/27033/chrome/common/extensions/api/declarative_web_request.json File chrome/common/extensions/api/declarative_web_request.json (right): https://codereview.chromium.org/11414230/diff/27033/chrome/common/extensions/api/declarative_web_request.json#newcode75 chrome/common/extensions/api/declarative_web_request.json:75: "description": "Matches if the conditions of the UrlFilter ...
7 years, 11 months ago (2013-01-24 19:54:46 UTC) #23
vabr (Chromium)
Hi Yoyo, I need a rubber-stamp (but any comments welcome) from you on chrome/common/extensions/api/declarative_web_request.json. The ...
7 years, 11 months ago (2013-01-24 21:12:19 UTC) #24
Yoyo Zhou
https://codereview.chromium.org/11414230/diff/40013/chrome/common/extensions/api/declarative_web_request.json File chrome/common/extensions/api/declarative_web_request.json (right): https://codereview.chromium.org/11414230/diff/40013/chrome/common/extensions/api/declarative_web_request.json#newcode75 chrome/common/extensions/api/declarative_web_request.json:75: "description": "Each URL request can be assigned a special ...
7 years, 11 months ago (2013-01-24 21:29:42 UTC) #25
vabr (Chromium)
Thanks, Yoyo, PTAL. Dominic, Jeffrey, any more comments since your last review? Vaclav https://codereview.chromium.org/11414230/diff/40013/chrome/common/extensions/api/declarative_web_request.json File ...
7 years, 11 months ago (2013-01-25 06:37:40 UTC) #26
battre
Great! LGTM
7 years, 11 months ago (2013-01-25 16:59:52 UTC) #27
Yoyo Zhou
LGTM
7 years, 11 months ago (2013-01-25 17:12:20 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/11414230/32039
7 years, 11 months ago (2013-01-25 17:23:20 UTC) #29
commit-bot: I haz the power
7 years, 11 months ago (2013-01-25 20:35:52 UTC) #30
Message was sent while issue was closed.
Change committed as 178882

Powered by Google App Engine
This is Rietveld 408576698