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

Issue 837293002: win: various porting for http_body_test.cc (Closed)

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

Description

win: various porting for http_body_test.cc - Wrap constants in FILE_PATH_LITERAL for L"". - dynamic allocation, as VS otherwise complains about lack of constant expression: d:\src\crashpad\crashpad\util\net\http_body_test.cc(182) : error C2057: expected constant expression d:\src\crashpad\crashpad\util\net\http_body_test.cc(182) : error C2466: cannot allocate an array of constant size 0 d:\src\crashpad\crashpad\util\net\http_body_test.cc(182) : error C2133: 'buf' : unknown size d:\src\crashpad\crashpad\util\net\http_body_test.cc(183) : error C2070: 'uint8_t []': illegal sizeof operand d:\src\crashpad\crashpad\util\net\http_body_test.cc(196) : error C2070: 'uint8_t []': illegal sizeof operand R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/119c4fdd9365e387c9c989d8d68f8f3c82ebdc5a

Patch Set 1 #

Total comments: 4

Patch Set 2 : use string instead of scoped_ptr[] #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -14 lines) Patch
M util/net/http_body_test.cc View 1 7 chunks +12 lines, -14 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scottmg
5 years, 11 months ago (2015-01-07 22:41:38 UTC) #1
Mark Mentovai
LGTM https://codereview.chromium.org/837293002/diff/1/util/net/http_body_test.cc File util/net/http_body_test.cc (right): https://codereview.chromium.org/837293002/diff/1/util/net/http_body_test.cc#newcode180 util/net/http_body_test.cc:180: const size_t all_strings_length = We could make this ...
5 years, 11 months ago (2015-01-07 22:47:27 UTC) #2
scottmg
https://codereview.chromium.org/837293002/diff/1/util/net/http_body_test.cc File util/net/http_body_test.cc (right): https://codereview.chromium.org/837293002/diff/1/util/net/http_body_test.cc#newcode180 util/net/http_body_test.cc:180: const size_t all_strings_length = On 2015/01/07 22:47:27, Mark Mentovai ...
5 years, 11 months ago (2015-01-07 23:01:12 UTC) #4
Mark Mentovai
LGTM
5 years, 11 months ago (2015-01-07 23:03:31 UTC) #5
scottmg
5 years, 11 months ago (2015-01-07 23:05:45 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as
119c4fdd9365e387c9c989d8d68f8f3c82ebdc5a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698