Chromium Code Reviews
DescriptionUpdate TestURLRequest constructor interface in extensions unit tests.
The TestURLRequest constructor interface is being expanded to allow separate
initialization arguments for the URLRequestContext and NetworkDelegate.
Most of the time this means making it explicit that the test in question
uses no network delegate. This is motivated by a desire to remove external
accesses to a request context's delegate. (If a block of code needs to
use a NetworkDelegate, it should not query the URLRequestContext for it,
but instead should already have access to whatever delegate the context uses.)
BUG=146587
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187192
Patch Set 1 #Patch Set 2 : Rebase onto master. #
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||