Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CrNet: add pauseable NSURLProtocol and switch to using it | ellyjones | 2015-06-12 | 1 | -6/+147 |
| | | | | | | | | | | | | | | | | | | | | | | | On iOS 8 with NSURLProtocol, CFNetwork appears to treat |-startLoading| as meaning "start or resume" and |-stopLoading| as "pause", and may deliver many such notifications over the lifetime of a request. The old CRNHTTPProtocolHandler is not designed for this behavior, so this change adds a separate NSURLProtocol implementation that can defer sending callbacks until the request is "resumed". This change should not affect the behavior of Chromium on iOS in any way, since Chromium will continue using the old NSURLProtocol implementation with the old behavior. The new NSURLProtocol ought to be safe to use in the same situations, but demonstrating this conclusively is difficult. Also, replace crnet_consumer with a non-graphical app with its own NSURLSession delegate to make testing behavior easier. BUG= Review URL: https://codereview.chromium.org/1142383006 Cr-Commit-Position: refs/heads/master@{#334168} | ||||
* | Remove prerender cookie store, part 4. | davidben | 2015-03-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This removes the ability to pass in a custom CookieStore to a URLRequest. It's a small change to net/url_request which then balloons to everything in the project that ever makes a URLRequest. This reverts the rest of https://codereview.chromium.org/188693003 (and then does a whole lot more because URLRequest constructors were unified recently to always require passing in the fourth argument). BUG=457344 Review URL: https://codereview.chromium.org/1003953008 Cr-Commit-Position: refs/heads/master@{#321820} | ||||
* | [iOS] Upstream //ios/net | droger | 2015-03-10 | 1 | -0/+952 |
This CL upstream the iOS-specific glue between Chrome network stack and the system APIs (such as web views, cookie store). The intent is to move this code to //net/ios eventually. Review URL: https://codereview.chromium.org/994823004 Cr-Commit-Position: refs/heads/master@{#319910} |