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

Issue 815053004: Switch [String]FileWriter to use new file_io.h functions/types (Closed)

Created:
6 years ago by scottmg
Modified:
6 years ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@file_io_seek-2
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Switch [String]FileWriter to use new file_io.h functions/types Also add ScopedFileHandle as cross-platform version of ScopedFD/ScopedFileHANDLE. R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/5f5e342584355bb495d12b54846a29041163e88c

Patch Set 1 #

Patch Set 2 : win-vec #

Patch Set 3 : rebase #

Patch Set 4 : update docs #

Total comments: 10

Patch Set 5 : fixes, add ScopedFileHandle #

Patch Set 6 : win #

Total comments: 8

Patch Set 7 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -68 lines) Patch
M tools/generate_dump.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M util/file/file_io.h View 1 2 3 4 5 6 4 chunks +10 lines, -5 lines 0 comments Download
M util/file/file_writer.h View 1 2 3 4 5 6 4 chunks +23 lines, -22 lines 0 comments Download
M util/file/file_writer.cc View 1 2 3 4 5 chunks +35 lines, -29 lines 0 comments Download
M util/file/string_file_writer.h View 1 chunk +1 line, -1 line 0 comments Download
M util/file/string_file_writer.cc View 2 chunks +9 lines, -8 lines 0 comments Download
M util/win/scoped_handle.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
scottmg
6 years ago (2014-12-19 18:23:40 UTC) #2
Mark Mentovai
https://codereview.chromium.org/815053004/diff/80001/util/file/file_writer.cc File util/file/file_writer.cc (right): https://codereview.chromium.org/815053004/diff/80001/util/file/file_writer.cc#newcode129 util/file/file_writer.cc:129: #ifndef NDEBUG Can you do this in the non-POSIX ...
6 years ago (2014-12-19 18:57:44 UTC) #3
scottmg
https://codereview.chromium.org/815053004/diff/80001/util/file/file_writer.cc File util/file/file_writer.cc (right): https://codereview.chromium.org/815053004/diff/80001/util/file/file_writer.cc#newcode129 util/file/file_writer.cc:129: #ifndef NDEBUG On 2014/12/19 18:57:44, Mark Mentovai wrote: > ...
6 years ago (2014-12-19 19:37:54 UTC) #6
Mark Mentovai
LGTM https://codereview.chromium.org/815053004/diff/160001/util/file/file_io.h File util/file/file_io.h (right): https://codereview.chromium.org/815053004/diff/160001/util/file/file_io.h#newcode44 util/file/file_io.h:44: using ScopedFileHandle = base::ScopedFD; Good thing this name ...
6 years ago (2014-12-19 20:42:57 UTC) #7
scottmg
https://codereview.chromium.org/815053004/diff/160001/util/file/file_io.h File util/file/file_io.h (right): https://codereview.chromium.org/815053004/diff/160001/util/file/file_io.h#newcode44 util/file/file_io.h:44: using ScopedFileHandle = base::ScopedFD; On 2014/12/19 20:42:57, Mark Mentovai ...
6 years ago (2014-12-19 21:32:41 UTC) #8
scottmg
6 years ago (2014-12-19 21:33:07 UTC) #9
Message was sent while issue was closed.
Committed patchset #7 (id:180001) manually as
5f5e342584355bb495d12b54846a29041163e88c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698