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

Issue 10447090: Support Cookie modifications in Declarative WebRequest API (Closed)

Created:
8 years, 6 months ago by battre
Modified:
7 years, 3 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Support Cookie modifications in Declarative WebRequest API BUG=112155 TEST=no TBR=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149838

Patch Set 1 #

Patch Set 2 : Intermediate state #

Patch Set 3 : Continued, only browser tests missing #

Patch Set 4 : Done #

Patch Set 5 : Cleanups #

Patch Set 6 : Merged with ToT #

Patch Set 7 : Split some parts into separate CLs #

Total comments: 13

Patch Set 8 : Addressed comments #

Patch Set 9 : Attempt to fix failing windows tests #

Patch Set 10 : Upload only necessary delta #

Patch Set 11 : Merged with ToT #

Patch Set 12 : Nits #

Total comments: 1

Patch Set 13 : Fixed typo #

Patch Set 14 : Merged with ToT #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2032 lines, -32 lines) Patch
M chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +52 lines, -3 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 11 12 5 chunks +208 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.cc View 1 2 3 4 2 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_helpers.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +87 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_helpers.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +445 lines, -1 line 1 comment Download
M chrome/browser/extensions/api/web_request/web_request_api_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +158 lines, -0 lines 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 13 2 chunks +169 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/examples/api/notifications.zip View 1 2 3 4 5 6 7 8 9 10 11 12 13 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/extensions/declarativeWebRequest.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 21 chunks +767 lines, -25 lines 0 comments Download
M chrome/renderer/resources/extensions/declarative_webrequest_custom_bindings.js View 1 2 3 1 chunk +18 lines, -0 lines 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 4 chunks +92 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
battre
Hi. This is the beginning of a CL to support cookie modifications in the Declarative ...
8 years, 6 months ago (2012-05-30 16:57:51 UTC) #1
Aaron Boodman
+abarth One thing we need to carefully consider is whether this is increasing the privilege ...
8 years, 6 months ago (2012-05-30 17:40:22 UTC) #2
battre
On 2012/05/30 17:40:22, Aaron Boodman wrote: > +abarth > > One thing we need to ...
8 years, 6 months ago (2012-05-30 17:50:20 UTC) #3
Aaron Boodman
As for the API, could we do something like: object DeclarativeWebRequest.CookieDetails { enum direction { ...
8 years, 6 months ago (2012-05-30 17:55:04 UTC) #4
Aaron Boodman
On Wed, May 30, 2012 at 10:55 AM, <aa@chromium.org> wrote: > new declarativeWebRequest.RemoveCookie(string name); Oops, ...
8 years, 6 months ago (2012-05-30 17:56:58 UTC) #5
battre
I think this is now ready for review. Matt, could you please take a look? ...
8 years, 5 months ago (2012-06-29 15:19:40 UTC) #6
Matt Perry
https://chromiumcodereview.appspot.com/10447090/diff/9007/chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc File chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc (right): https://chromiumcodereview.appspot.com/10447090/diff/9007/chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc#newcode876 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc:876: WebRequestCookieAction::WebRequestCookieAction( It looks like the logic for the 2 ...
8 years, 5 months ago (2012-07-09 23:26:12 UTC) #7
battre
Reviving this CL now that all preparations are done. Matt, PTAL. Thanks, Dominic http://codereview.chromium.org/10447090/diff/9007/chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc File ...
8 years, 4 months ago (2012-08-02 17:17:34 UTC) #8
Matt Perry
LGTM with typo fixed http://codereview.chromium.org/10447090/diff/9007/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc File chrome/browser/extensions/api/web_request/web_request_api_helpers.cc (right): http://codereview.chromium.org/10447090/diff/9007/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc#newcode352 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc:352: static void ParseRequestCookieLine( On 2012/08/02 ...
8 years, 4 months ago (2012-08-02 17:37:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/10447090/54001
8 years, 4 months ago (2012-08-03 09:12:28 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/api/declarative_web_request.json: While running patch -p1 --forward --force; patching file chrome/common/extensions/api/declarative_web_request.json ...
8 years, 4 months ago (2012-08-03 09:12:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/10447090/50005
8 years, 4 months ago (2012-08-03 09:18:41 UTC) #12
commit-bot: I haz the power
Presubmit check for 10447090-50005 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-03 09:18:48 UTC) #13
battre
TBRing ben for OWNER (triggerd by chrome/renderer/resources/extensions/declarative_webrequest_custom_bindings.js)
8 years, 4 months ago (2012-08-03 09:33:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/10447090/50005
8 years, 4 months ago (2012-08-03 09:34:16 UTC) #15
commit-bot: I haz the power
Change committed as 149838
8 years, 4 months ago (2012-08-03 11:42:34 UTC) #16
Nico
https://chromiumcodereview.appspot.com/10447090/diff/50005/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc File chrome/browser/extensions/api/web_request/web_request_api_helpers.cc (right): https://chromiumcodereview.appspot.com/10447090/diff/50005/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc#newcode373 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc:373: while (i != header_value.end() && *i != '"') ++i; ...
7 years, 4 months ago (2013-08-22 17:15:35 UTC) #17
Nico
battre: Can you look at this, please? On Thu, Aug 22, 2013 at 10:15 AM, ...
7 years, 3 months ago (2013-08-29 01:11:44 UTC) #18
battre
Sorry for not getting back on this. It has been fixed 3 weeks ago: https://chromiumcodereview.appspot.com/21907006/ ...
7 years, 3 months ago (2013-08-29 08:06:11 UTC) #19
Nico
7 years, 3 months ago (2013-08-29 14:28:38 UTC) #20
Thanks!


On Thu, Aug 29, 2013 at 1:05 AM, Dominic Battre <battre@chromium.org> wrote:

> Sorry for not getting back on this. It has been fixed 3 weeks ago:
> https://chromiumcodereview.appspot.com/21907006/
>
> Best regards,
> Dominic
>
>
>
> On Thu, Aug 29, 2013 at 3:11 AM, Nico Weber <thakis@chromium.org> wrote:
>
>> battre: Can you look at this, please?
>>
>>
>> On Thu, Aug 22, 2013 at 10:15 AM, <thakis@chromium.org> wrote:
>>
>>>
>>> https://chromiumcodereview.**appspot.com/10447090/diff/**
>>> 50005/chrome/browser/**extensions/api/web_request/**
>>>
web_request_api_helpers.cc<https://chromiumcodereview.appspot.com/10447090/diff/50005/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc>
>>> File
>>> chrome/browser/extensions/api/**web_request/web_request_api_**helpers.cc
>>> (right):
>>>
>>> https://chromiumcodereview.**appspot.com/10447090/diff/**
>>> 50005/chrome/browser/**extensions/api/web_request/**
>>>
web_request_api_helpers.cc#**newcode373<https://chromiumcodereview.appspot.com/10447090/diff/50005/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc#newcode373>
>>> chrome/browser/extensions/api/**web_request/web_request_api_**
>>> helpers.cc:373:
>>> while (i != header_value.end() && *i != '"') ++i;
>>>
http://www.viva64.com/en/b/**0205/#ID0ELSBI<http://www.viva64.com/en/b/0205/#...
out that this is likely
>>> wrong. Can you take a look? (see also
>>>
https://code.google.com/p/**chromium/issues/detail?id=**271530<https://code.g...
>>> https://docs.google.com/a/**chromium.org/spreadsheet/ccc?**key=**
>>>
0AuaiI7KNlghJdEMzVC1KcGFuVVdpe**XY5R1A4SV93VlE#gid=0<https://docs.google.com/a/chromium.org/spreadsheet/ccc?key=0AuaiI7KNlghJdEMzVC1KcGFuVVdpeXY5R1A4SV93VlE#gid=0>
>>> )
>>>
>>>
https://chromiumcodereview.**appspot.com/10447090/<https://chromiumcodereview...
>>>
>>
>>
>
> --
> Google Germany GmbH - Dienerstr. 12 - 80331 München - Germany
> Registergericht und -nummer: Hamburg, HRB 86891
> Sitz der Gesellschaft: Hamburg
> Geschäftsführer: Graham Law, Christine Elizabeth Flores
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698