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

Issue 10910179: Event matching by regular expression matching on URLs. (Closed)

Created:
8 years, 3 months ago by Yoyo Zhou
Modified:
8 years, 3 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Event matching by regular expression matching on URLs. Uses FilteredRE2 implementation to more efficiently match lots of regexes at once by prefiltering. BUG=135609, 112155 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156693

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : 1 #

Total comments: 23

Patch Set 4 : rebase #

Patch Set 5 : battre #

Patch Set 6 : #

Patch Set 7 : ascii artiste #

Unified diffs Side-by-side diffs Delta from patch set Stats (+706 lines, -226 lines) Patch
M chrome/chrome_common.gypi View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/events.json View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/common/extensions/matcher/regex_set_matcher.h View 1 2 3 4 1 chunk +80 lines, -0 lines 0 comments Download
A chrome/common/extensions/matcher/regex_set_matcher.cc View 1 2 3 4 1 chunk +109 lines, -0 lines 0 comments Download
A chrome/common/extensions/matcher/regex_set_matcher_unittest.cc View 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/common/extensions/matcher/string_pattern.h View 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/common/extensions/matcher/string_pattern.cc View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/common/extensions/matcher/string_pattern_unittest.cc View 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/common/extensions/matcher/substring_set_matcher.h View 5 chunks +12 lines, -36 lines 0 comments Download
M chrome/common/extensions/matcher/substring_set_matcher.cc View 5 chunks +11 lines, -27 lines 0 comments Download
M chrome/common/extensions/matcher/substring_set_matcher_unittest.cc View 4 chunks +10 lines, -22 lines 0 comments Download
M chrome/common/extensions/matcher/url_matcher.h View 10 chunks +45 lines, -30 lines 0 comments Download
M chrome/common/extensions/matcher/url_matcher.cc View 1 2 3 4 5 6 21 chunks +157 lines, -68 lines 0 comments Download
M chrome/common/extensions/matcher/url_matcher_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/matcher/url_matcher_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/matcher/url_matcher_factory.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/matcher/url_matcher_unittest.cc View 1 2 3 4 12 chunks +92 lines, -43 lines 0 comments Download
M chrome/test/data/extensions/api_test/webrequest/test_declarative.js View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Yoyo Zhou
8 years, 3 months ago (2012-09-11 00:32:53 UTC) #1
battre
Sorry, I did not get to do a real review today. Just sending the what ...
8 years, 3 months ago (2012-09-11 21:49:48 UTC) #2
Yoyo Zhou
https://chromiumcodereview.appspot.com/10910179/diff/2001/chrome/common/extensions/matcher/regex_set_matcher.h File chrome/common/extensions/matcher/regex_set_matcher.h (right): https://chromiumcodereview.appspot.com/10910179/diff/2001/chrome/common/extensions/matcher/regex_set_matcher.h#newcode34 chrome/common/extensions/matcher/regex_set_matcher.h:34: // patterns at once. On 2012/09/11 21:49:48, battre wrote: ...
8 years, 3 months ago (2012-09-11 22:35:37 UTC) #3
battre
LGTM. Great to see how easy it was to integrate this into the existing architecture. ...
8 years, 3 months ago (2012-09-12 18:04:50 UTC) #4
Yoyo Zhou
https://chromiumcodereview.appspot.com/10910179/diff/1021/chrome/common/extensions/api/events.json File chrome/common/extensions/api/events.json (right): https://chromiumcodereview.appspot.com/10910179/diff/1021/chrome/common/extensions/api/events.json#newcode269 chrome/common/extensions/api/events.json:269: "description": "Matches if the URL matches a specified regular ...
8 years, 3 months ago (2012-09-12 20:25:56 UTC) #5
battre
LGTM, thx https://chromiumcodereview.appspot.com/10910179/diff/1021/chrome/common/extensions/matcher/regex_set_matcher.cc File chrome/common/extensions/matcher/regex_set_matcher.cc (right): https://chromiumcodereview.appspot.com/10910179/diff/1021/chrome/common/extensions/matcher/regex_set_matcher.cc#newcode87 chrome/common/extensions/matcher/regex_set_matcher.cc:87: << it->second->pattern() << ")"; On 2012/09/12 20:25:56, ...
8 years, 3 months ago (2012-09-12 20:50:39 UTC) #6
Yoyo Zhou
https://chromiumcodereview.appspot.com/10910179/diff/1021/chrome/common/extensions/matcher/url_matcher.cc File chrome/common/extensions/matcher/url_matcher.cc (right): https://chromiumcodereview.appspot.com/10910179/diff/1021/chrome/common/extensions/matcher/url_matcher.cc#newcode24 chrome/common/extensions/matcher/url_matcher.cc:24: // ---------------------- -------------------- On 2012/09/12 20:50:39, battre wrote: > ...
8 years, 3 months ago (2012-09-12 21:58:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/10910179/3028
8 years, 3 months ago (2012-09-13 00:11:23 UTC) #8
commit-bot: I haz the power
Presubmit check for 10910179-3028 failed and returned exit status 1. All integration tests passed! Running ...
8 years, 3 months ago (2012-09-13 00:11:36 UTC) #9
Yoyo Zhou
+ben for chrome/
8 years, 3 months ago (2012-09-13 00:13:49 UTC) #10
Ben Goodger (Google)
lgtm
8 years, 3 months ago (2012-09-13 15:40:20 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-09-13 15:42:42 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698