Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Issue 993413003: Remove NSInputStream used in HTTPTransportMac and use a CFReadStream instead. (Closed)

Created:
5 years, 9 months ago by Robert Sesek
Modified:
5 years, 9 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

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 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/f0ee5f0efee651ab82aa854761f107193b3db5de

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+655 lines, -74 lines) Patch
A third_party/apple_cf/APPLE_LICENSE View 1 1 chunk +335 lines, -0 lines 0 comments Download
A third_party/apple_cf/CFStreamAbstract.h View 1 chunk +205 lines, -0 lines 0 comments Download
A third_party/apple_cf/README.crashpad View 1 chunk +15 lines, -0 lines 0 comments Download
M util/net/http_transport_mac.mm View 1 2 chunks +100 lines, -74 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Robert Sesek
5 years, 9 months ago (2015-03-11 20:02:58 UTC) #1
Mark Mentovai
https://codereview.chromium.org/993413003/diff/1/third_party/apple_cf/README.crashpad File third_party/apple_cf/README.crashpad (right): https://codereview.chromium.org/993413003/diff/1/third_party/apple_cf/README.crashpad#newcode7 third_party/apple_cf/README.crashpad:7: License File: APPLE_LICENSE Should be LICENSE, since that’s what ...
5 years, 9 months ago (2015-03-11 20:47:42 UTC) #2
Robert Sesek
https://codereview.chromium.org/993413003/diff/1/third_party/apple_cf/README.crashpad File third_party/apple_cf/README.crashpad (right): https://codereview.chromium.org/993413003/diff/1/third_party/apple_cf/README.crashpad#newcode7 third_party/apple_cf/README.crashpad:7: License File: APPLE_LICENSE On 2015/03/11 20:47:42, Mark Mentovai wrote: ...
5 years, 9 months ago (2015-03-11 20:53:57 UTC) #3
Mark Mentovai
LGTM. I tested exhaustively on 10.6.8, 10.7.5, 10.8.5, 10.9.5, and 10.10.2. All tests passed and ...
5 years, 9 months ago (2015-03-11 20:59:33 UTC) #4
Robert Sesek
5 years, 9 months ago (2015-03-11 21:00:04 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
f0ee5f0efee651ab82aa854761f107193b3db5de (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698