DescriptionCreate a URLRequestContext for PAC fetching.
Originally I was going to create a single "system" URLRequestContext. I realized that was wrong, I need one for proxy script fetching that uses a direct ProxyService. This way, we don't have the circular dependencies for URLRequestContext(A)=>ProxyService=>ProxyScriptFetcherImpl=>URLRequestContext(A). Instead, we have URLRequestContext(A)=>ProxyService=>ProxyScriptFetcherImpl=>URLRequestContext(special one for proxy).
This also exposes some setters in URLRequestContext that were in ChromeURLRequestContext. I guess this makes URLRequestContext a bit more "dangerous" since it could be mutated during runtime, but really we should probably pass around a const URLRequestContext within the network stack. I've filed http://crbug.com/67597 to track this.
BUG=67232
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70116
Patch Set 1 #Patch Set 2 : Merge #Patch Set 3 : More merging. #Patch Set 4 : Hopefully the last merge error. #Patch Set 5 : Hopefully this fixes all tests, except maybe the windows chrome_frame_tests :( #Patch Set 6 : Remove need for IOThread in unit_tests. Woot! #
Total comments: 21
Patch Set 7 : Address comments. #
Total comments: 10
Patch Set 8 : Address comments. #
Messages
Total messages: 7 (0 generated)
|