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

Issue 837123005: win: Add implementation of ScopedTempDir (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@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: Add implementation of ScopedTempDir Also fix implementation of CreateFile which aborted at runtime when provided POSIX-style permissions. R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/7115130043bf2628783cdd805d29b767f5c55243

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : x instead of u #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -4 lines) Patch
M util/test/scoped_temp_dir_posix.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M util/test/scoped_temp_dir_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A util/test/scoped_temp_dir_win.cc View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
M util/util.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
scottmg
5 years, 11 months ago (2015-01-09 07:28:08 UTC) #4
Mark Mentovai
https://codereview.chromium.org/837123005/diff/60001/util/test/scoped_temp_dir_win.cc File util/test/scoped_temp_dir_win.cc (right): https://codereview.chromium.org/837123005/diff/60001/util/test/scoped_temp_dir_win.cc#newcode41 util/test/scoped_temp_dir_win.cc:41: "%d_%d", GetCurrentProcessId(), base::RandInt(0, 65536))); Can we put something about ...
5 years, 11 months ago (2015-01-09 14:13:47 UTC) #6
scottmg
https://codereview.chromium.org/837123005/diff/60001/util/test/scoped_temp_dir_win.cc File util/test/scoped_temp_dir_win.cc (right): https://codereview.chromium.org/837123005/diff/60001/util/test/scoped_temp_dir_win.cc#newcode41 util/test/scoped_temp_dir_win.cc:41: "%d_%d", GetCurrentProcessId(), base::RandInt(0, 65536))); On 2015/01/09 14:13:47, Mark Mentovai ...
5 years, 11 months ago (2015-01-13 21:20:56 UTC) #9
Mark Mentovai
LGTM. The weird semantics of Chrome’s equivalent and the cross-platform differences were why we avoided ...
5 years, 11 months ago (2015-01-13 21:38:32 UTC) #10
scottmg
https://codereview.chromium.org/837123005/diff/100001/util/test/scoped_temp_dir_win.cc File util/test/scoped_temp_dir_win.cc (right): https://codereview.chromium.org/837123005/diff/100001/util/test/scoped_temp_dir_win.cc#newcode41 util/test/scoped_temp_dir_win.cc:41: "crashpad.test.%d.%I64u", GetCurrentProcessId(), base::RandUint64())); On 2015/01/13 21:38:32, Mark Mentovai wrote: ...
5 years, 11 months ago (2015-01-13 21:42:46 UTC) #11
scottmg
5 years, 11 months ago (2015-01-13 21:51:36 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:120001) manually as
7115130043bf2628783cdd805d29b767f5c55243 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698