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

Issue 9820003: Implementation of beginning of Declarative Web Request API backend (Closed)

Created:
8 years, 9 months ago by battre
Modified:
8 years, 8 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

Implementation of beginning of Declarative Web Request API backend This CL implements the beginning of the RulesRegistry for the Declarative Web Request API; it allows registering rules and checking whether their conditions are fulfilled. BUG=112155 TEST=no Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129585

Patch Set 1 #

Total comments: 57

Patch Set 2 : Addressed comments #

Total comments: 12

Patch Set 3 : Addressed comments #

Patch Set 4 : Pacify clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1667 lines, -0 lines) Patch
M chrome/browser/extensions/api/declarative/url_matcher.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/declarative/url_matcher.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/request_stages.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc View 1 2 1 chunk +106 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h View 1 2 1 chunk +137 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc View 1 2 1 chunk +290 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h View 1 2 1 chunk +103 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc View 1 2 1 chunk +152 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.h View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h View 1 2 1 chunk +87 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc View 1 2 1 chunk +110 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc View 1 1 chunk +143 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
battre
Matt: could you please have a first pass on this. Aaron: FYI This is the ...
8 years, 9 months ago (2012-03-21 22:58:46 UTC) #1
Matt Perry
I've only just started reviewing. I've commented on some small issues for a few of ...
8 years, 9 months ago (2012-03-22 01:34:43 UTC) #2
battre
Hi Matt, Thanks for this review. I'll probably have little time for coding today. On ...
8 years, 9 months ago (2012-03-22 10:47:52 UTC) #3
Matt Perry
After looking at this some more, I understand why you went with the class hierarchies. ...
8 years, 9 months ago (2012-03-22 23:07:24 UTC) #4
Matt Perry
On 2012/03/22 10:47:52, battre wrote: > Hi Matt, > > Thanks for this review. I'll ...
8 years, 9 months ago (2012-03-22 23:08:08 UTC) #5
battre
Thanks a lot for the thorough review. Please have another look. https://chromiumcodereview.appspot.com/9820003/diff/1/chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc File chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc (right): ...
8 years, 9 months ago (2012-03-26 18:35:51 UTC) #6
Matt Perry
more comments coming soon https://chromiumcodereview.appspot.com/9820003/diff/1/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h File chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h (right): https://chromiumcodereview.appspot.com/9820003/diff/1/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h#newcode67 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h:67: class WebRequestConditionCollection { On 2012/03/26 ...
8 years, 9 months ago (2012-03-26 19:11:06 UTC) #7
Matt Perry
Awesome, looking good. Just a few more small nits. https://chromiumcodereview.appspot.com/9820003/diff/13001/chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h File chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h (right): https://chromiumcodereview.appspot.com/9820003/diff/13001/chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h#newcode46 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h:46: ...
8 years, 9 months ago (2012-03-26 20:21:20 UTC) #8
battre
Thanks. https://chromiumcodereview.appspot.com/9820003/diff/1/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h File chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h (right): https://chromiumcodereview.appspot.com/9820003/diff/1/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h#newcode67 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h:67: class WebRequestConditionCollection { On 2012/03/26 19:11:06, Matt Perry ...
8 years, 9 months ago (2012-03-26 20:38:10 UTC) #9
battre
"looking good" == LGTY? Rietveld does not recognize it as the magical four characters. Best ...
8 years, 9 months ago (2012-03-27 08:16:20 UTC) #10
Matt Perry
Sorry, LGTM. I wanted to take one last look but somehow missed your latest patchset.
8 years, 9 months ago (2012-03-27 18:19:37 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/9820003/7022
8 years, 9 months ago (2012-03-27 18:34:15 UTC) #12
commit-bot: I haz the power
Try job failure for 9820003-7022 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-27 19:45:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/9820003/7022
8 years, 9 months ago (2012-03-28 13:06:34 UTC) #14
commit-bot: I haz the power
Try job failure for 9820003-7022 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-28 16:07:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/9820003/7022
8 years, 9 months ago (2012-03-28 16:21:51 UTC) #16
commit-bot: I haz the power
Try job failure for 9820003-7022 (retry) on win_rel for steps "ui_tests, browser_tests". It's a second ...
8 years, 9 months ago (2012-03-28 21:02:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/9820003/7022
8 years, 9 months ago (2012-03-28 21:03:26 UTC) #18
commit-bot: I haz the power
8 years, 9 months ago (2012-03-29 00:50:20 UTC) #19
Try job failure for 9820003-7022 (retry) on win_rel for step "browser_tests".
It's a second try, previously, step "browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698