|
|
Implemented proper support for checking schemes and requested resource types.
This CL implements filter support for schemes that is handled by the URLMatcher, where it should be. In order to not lose the last WebRequestConditionAttribute implementation, support for filtering by ResourceType has been implemented in this CL as well.
BUG= 112155
TEST=no
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132003
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+439 lines, -133 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/declarative/url_matcher.h
|
View
|
|
3 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/url_matcher.cc
|
View
|
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/url_matcher_unittest.cc
|
View
|
|
2 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc
|
View
|
1
2
3
|
6 chunks |
+27 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h
|
View
|
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc
|
View
|
1
2
|
5 chunks |
+48 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc
|
View
|
|
2 chunks |
+33 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+18 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/api/declarative_webrequest/webrequest_helpers.h
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/api/declarative_webrequest/webrequest_helpers.cc
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc
|
View
|
1
2
3
|
8 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/web_request/web_request_api.cc
|
View
|
|
5 chunks |
+6 lines, -59 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/web_request/web_request_api_helpers.h
|
View
|
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/web_request/web_request_api_helpers.cc
|
View
|
|
2 chunks |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/experimental.webRequest.json
|
View
|
1
2
3
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/experimental.webRequest.html
|
View
|
1
2
3
|
2 chunks |
+39 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/webrequest/test_declarative.js
|
View
|
1
2
3
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|