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

Issue 669153006: Add HTTPBodyStream interface, three concrete implementations, and their tests. (Closed)

Created:
6 years, 2 months ago by Robert Sesek
Modified:
6 years, 2 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Add HTTPBodyStream interface, three concrete implementations, and their tests. BUG=415544 R=mark@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/977a7a805210856303bfd32de7f7d52b0edcfdce

Patch Set 1 #

Total comments: 69

Patch Set 2 : Address comments. #

Patch Set 3 : Close and read error logging #

Total comments: 13

Patch Set 4 : Address comments #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+500 lines, -0 lines) Patch
M util/file/fd_io.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M util/file/fd_io.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A util/net/http_body.h View 1 1 chunk +130 lines, -0 lines 0 comments Download
A util/net/http_body.cc View 1 2 3 4 1 chunk +116 lines, -0 lines 0 comments Download
A util/net/http_body_test.cc View 1 2 3 4 1 chunk +237 lines, -0 lines 0 comments Download
A util/net/testdata/ascii_http_body.txt View 1 chunk +1 line, -0 lines 0 comments Download
A util/net/testdata/binary_http_body.dat View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M util/util.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Robert Sesek
6 years, 2 months ago (2014-10-23 18:25:35 UTC) #1
Mark Mentovai
https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc File util/net/http_body.cc (right): https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc#newcode21 util/net/http_body.cc:21: #include <vector> You don’t need this, it’s already been ...
6 years, 2 months ago (2014-10-23 19:31:04 UTC) #2
Robert Sesek
https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc File util/net/http_body.cc (right): https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc#newcode21 util/net/http_body.cc:21: #include <vector> On 2014/10/23 19:31:03, Mark Mentovai wrote: > ...
6 years, 2 months ago (2014-10-24 16:53:35 UTC) #3
Mark Mentovai
https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc File util/net/http_body.cc (right): https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc#newcode58 util/net/http_body.cc:58: if (fd_ > 0) { Robert Sesek wrote: > ...
6 years, 2 months ago (2014-10-24 16:59:44 UTC) #4
Robert Sesek
https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc File util/net/http_body.cc (right): https://codereview.chromium.org/669153006/diff/1/util/net/http_body.cc#newcode58 util/net/http_body.cc:58: if (fd_ > 0) { On 2014/10/24 16:59:43, Mark ...
6 years, 2 months ago (2014-10-24 17:20:38 UTC) #5
Mark Mentovai
LGTM https://codereview.chromium.org/669153006/diff/40001/util/file/fd_io.h File util/file/fd_io.h (right): https://codereview.chromium.org/669153006/diff/40001/util/file/fd_io.h#newcode84 util/file/fd_io.h:84: //! \return On success, `0` is returned. On ...
6 years, 2 months ago (2014-10-24 17:46:58 UTC) #6
Robert Sesek
https://codereview.chromium.org/669153006/diff/40001/util/file/fd_io.h File util/file/fd_io.h (right): https://codereview.chromium.org/669153006/diff/40001/util/file/fd_io.h#newcode84 util/file/fd_io.h:84: //! \return On success, `0` is returned. On failure, ...
6 years, 2 months ago (2014-10-24 18:45:31 UTC) #7
Mark Mentovai
LGTM https://codereview.chromium.org/669153006/diff/60001/util/net/http_body.cc File util/net/http_body.cc (right): https://codereview.chromium.org/669153006/diff/60001/util/net/http_body.cc#newcode76 util/net/http_body.cc:76: } default: break; It’s required by the style ...
6 years, 2 months ago (2014-10-24 18:58:21 UTC) #8
Robert Sesek
https://codereview.chromium.org/669153006/diff/60001/util/net/http_body.cc File util/net/http_body.cc (right): https://codereview.chromium.org/669153006/diff/60001/util/net/http_body.cc#newcode76 util/net/http_body.cc:76: } On 2014/10/24 18:58:21, Mark Mentovai wrote: > default: ...
6 years, 2 months ago (2014-10-24 19:02:47 UTC) #9
Robert Sesek
6 years, 2 months ago (2014-10-24 19:04:28 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
977a7a805210856303bfd32de7f7d52b0edcfdce (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698