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

Issue 834693002: Create ScopedTempDir, implement it on POSIX, and use it where appropriate. (Closed)

Created:
5 years, 11 months ago by Robert Sesek
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

Create ScopedTempDir, implement it on POSIX, and use it where appropriate. R=mark@chromium.org TEST=util_test --gtest_filter=ScopedTempDir.* Committed: https://chromium.googlesource.com/crashpad/crashpad/+/1cdb7c1d04abb4137678189f8bd15bd28ffbb3a8

Patch Set 1 : #

Total comments: 47

Patch Set 2 : Address comments #

Total comments: 6

Patch Set 3 : For landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -6 lines) Patch
M util/mac/xattr_test.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
A util/test/scoped_temp_dir.h View 1 1 chunk +61 lines, -0 lines 0 comments Download
A util/test/scoped_temp_dir.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download
A util/test/scoped_temp_dir_posix.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A util/test/scoped_temp_dir_test.cc View 1 2 1 chunk +123 lines, -0 lines 0 comments Download
M util/util.gyp View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Robert Sesek
5 years, 11 months ago (2014-12-31 00:18:40 UTC) #3
Mark Mentovai
Less code than I anticipated, nice! https://codereview.chromium.org/834693002/diff/40001/util/mac/xattr_test.cc File util/mac/xattr_test.cc (right): https://codereview.chromium.org/834693002/diff/40001/util/mac/xattr_test.cc#newcode49 util/mac/xattr_test.cc:49: base::FilePath path() { ...
5 years, 11 months ago (2014-12-31 05:51:10 UTC) #4
Mark Mentovai
https://codereview.chromium.org/834693002/diff/40001/util/test/scoped_temp_dir_posix.cc File util/test/scoped_temp_dir_posix.cc (right): https://codereview.chromium.org/834693002/diff/40001/util/test/scoped_temp_dir_posix.cc#newcode46 util/test/scoped_temp_dir_posix.cc:46: RecursivelyDeleteTemporaryDirectory(entry_path); You should set entry to nullptr to affirmatively ...
5 years, 11 months ago (2014-12-31 06:07:28 UTC) #5
Mark Mentovai
Happy new year! https://codereview.chromium.org/834693002/diff/40001/util/test/scoped_temp_dir_posix.cc File util/test/scoped_temp_dir_posix.cc (right): https://codereview.chromium.org/834693002/diff/40001/util/test/scoped_temp_dir_posix.cc#newcode46 util/test/scoped_temp_dir_posix.cc:46: RecursivelyDeleteTemporaryDirectory(entry_path); I wrote: > You should ...
5 years, 11 months ago (2015-01-01 06:40:20 UTC) #6
Robert Sesek
https://codereview.chromium.org/834693002/diff/40001/util/mac/xattr_test.cc File util/mac/xattr_test.cc (right): https://codereview.chromium.org/834693002/diff/40001/util/mac/xattr_test.cc#newcode49 util/mac/xattr_test.cc:49: base::FilePath path() { return path_; } On 2014/12/31 05:51:09, ...
5 years, 11 months ago (2015-01-02 17:34:09 UTC) #7
Mark Mentovai
LGTM https://codereview.chromium.org/834693002/diff/60001/util/mac/xattr_test.cc File util/mac/xattr_test.cc (right): https://codereview.chromium.org/834693002/diff/60001/util/mac/xattr_test.cc#newcode38 util/mac/xattr_test.cc:38: void SetUp() override { SetUp() and TearDown() can ...
5 years, 11 months ago (2015-01-02 17:49:55 UTC) #8
Robert Sesek
https://codereview.chromium.org/834693002/diff/60001/util/mac/xattr_test.cc File util/mac/xattr_test.cc (right): https://codereview.chromium.org/834693002/diff/60001/util/mac/xattr_test.cc#newcode38 util/mac/xattr_test.cc:38: void SetUp() override { On 2015/01/02 17:49:54, Mark Mentovai ...
5 years, 11 months ago (2015-01-02 18:51:13 UTC) #9
Robert Sesek
5 years, 11 months ago (2015-01-02 18:51:51 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:80001) manually as
1cdb7c1d04abb4137678189f8bd15bd28ffbb3a8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698