Robert Sesek f0ee5f0efe Remove NSInputStream used in HTTPTransportMac and use a CFReadStream instead.
NSInputStream requires overriding and implementing private methods in order to
use it with NSURLConnection [1]. It is cleaner to use the private but stable
and open source CFStreamAbstract.h header from CF-Lite to implement a
CFReadStream. Since CFReadStream is toll-free bridged to NSInputStream, the
remainder of the HTTPTransport code can remain unchanged.

[1] http://lists.apple.com/archives/macnetworkprog/2007/May/msg00055.html

BUG=crashpad:15
R=mark@chromium.org

Review URL: https://codereview.chromium.org/993413003
2015-03-11 16:59:59 -04:00
..

Name: Apple CF-Lite
Short Name: CF
URL: https://opensource.apple.com/source/CF/
URL: https://opensource.apple.com/tarballs/CF/
Version: 550.43 (from Mac OS X 10.6.8)
License: APSL 2.0
License File: APPLE_LICENSE
Security Critical: no

Description:
CF-Lite is an open-source version of the CoreFoundation framework. This
contains non-public but stable header files.

Local Modifications:
 - Only CFStreamAbstract.h is included.