mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
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
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%