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

Issue 181043006: Implement correct logic for URLPatternSet set operators.

Created:
6 years, 10 months ago by rpaquay
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement correct logic for URLPatternSet set operators. URLPattern instances have "containment" relationships (as opposed to simple equality) that need to be taken into account when implementing set operations. For example, {"<all_urls>"} INTERSECTION {"http://www.google.com/*"} = {"http://www.google.com/*"} BUG=310815

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address code review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -15 lines) Patch
M extensions/common/url_pattern.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/url_pattern_set.h View 1 2 chunks +7 lines, -2 lines 0 comments Download
M extensions/common/url_pattern_set.cc View 1 5 chunks +39 lines, -13 lines 0 comments Download
M extensions/common/url_pattern_set_unittest.cc View 1 2 chunks +112 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rpaquay
I think I got all the special cases right. LMK.
6 years, 10 months ago (2014-02-27 00:20:10 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/181043006/diff/1/extensions/common/url_pattern_set.cc File extensions/common/url_pattern_set.cc (right): https://codereview.chromium.org/181043006/diff/1/extensions/common/url_pattern_set.cc#newcode34 extensions/common/url_pattern_set.cc:34: bool keepPattern1 = true; is this whole block just ...
6 years, 9 months ago (2014-02-27 21:10:46 UTC) #2
rpaquay
ptal https://codereview.chromium.org/181043006/diff/1/extensions/common/url_pattern_set.cc File extensions/common/url_pattern_set.cc (right): https://codereview.chromium.org/181043006/diff/1/extensions/common/url_pattern_set.cc#newcode34 extensions/common/url_pattern_set.cc:34: bool keepPattern1 = true; On 2014/02/27 21:10:46, kalman ...
6 years, 9 months ago (2014-02-28 01:46:47 UTC) #3
not at google - send to devlin
lgtm
6 years, 9 months ago (2014-02-28 17:40:19 UTC) #4
rpaquay
The CQ bit was checked by rpaquay@chromium.org
6 years, 9 months ago (2014-02-28 18:05:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/181043006/20001
6 years, 9 months ago (2014-02-28 18:06:00 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 19:15:46 UTC) #7
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=119528
6 years, 9 months ago (2014-02-28 19:15:46 UTC) #8
not at google - send to devlin
6 years, 4 months ago (2014-08-08 14:29:56 UTC) #9
why did this CL never go in? all of a sudden I need it :)

Powered by Google App Engine
This is Rietveld 408576698