Chromium Code Reviews
DescriptionExtracting header testing code from WebRequestConditionAttributeResponseHeaders.
In preparation for adding a new condition attribute for matching request
headers, the code independent of the headers being 'response' or 'request'
is extracted and put into a separate class TestManager to be easily reused.
BUG=143662, 112155
TEST=This change should introduce no change in behaviour and no new features. To check that it does not break the old functionality, install the extension attached to BUG 143662. If this feature is working correctly the extension should cancel every navigation.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154939
Patch Set 1 #Patch Set 2 : Typo in a comment #
Total comments: 4
Patch Set 3 : TestManager->HeaderMatcher #Patch Set 4 : Corrected indenting, clarified comments and some names #
Total comments: 18
Patch Set 5 : Dominic's comments #Patch Set 6 : Case-insensitive handling all in one class #Patch Set 7 : Correction of a negated condition and more unit-tests #
Messages
Total messages: 12 (0 generated)
|
|||||||||||||||||||||||||||||||||||||