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 19411: Add ScopedTempDir - a class that manages the lifetime of a temporary director... (Closed)

Created:
11 years, 11 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add ScopedTempDir - a class that manages the lifetime of a temporary directory. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=8824

Patch Set 1 #

Total comments: 26

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 15

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -0 lines) Patch
M base/base.xcodeproj/project.pbxproj View 7 chunks +10 lines, -0 lines 0 comments Download
M base/base_lib.scons View 1 chunk +2 lines, -0 lines 0 comments Download
M base/build/base.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
M base/build/base_unittests.vcproj View 1 chunk +4 lines, -0 lines 0 comments Download
A base/scoped_temp_dir.h View 5 6 1 chunk +47 lines, -0 lines 0 comments Download
A base/scoped_temp_dir.cc View 5 6 1 chunk +48 lines, -0 lines 0 comments Download
A base/scoped_temp_dir_unittest.cc View 5 6 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Erik does not do reviews
I didn't add this to Linux/Mac build files yet. I'm curious on your feedback as ...
11 years, 11 months ago (2009-01-28 01:11:58 UTC) #1
Matt Perry
http://codereview.chromium.org/19411/diff/1/3 File chrome/common/scoped_temp_dir.h (right): http://codereview.chromium.org/19411/diff/1/3#newcode18 Line 18: ScopedTempDir(const FilePath& path); I find the two constructors ...
11 years, 11 months ago (2009-01-28 01:30:24 UTC) #2
Erik does not do reviews
I'm also curious about your thoughts to my original question about base vs. chrome/common. http://codereview.chromium.org/19411/diff/1/3 ...
11 years, 11 months ago (2009-01-28 01:38:03 UTC) #3
Matt Perry
I think it's fair to put it into base, since all its dependencies are there. ...
11 years, 11 months ago (2009-01-28 01:48:52 UTC) #4
Matt Perry
also, lgtm
11 years, 11 months ago (2009-01-28 01:49:03 UTC) #5
darin (slow to review)
On 2009/01/28 01:48:52, Matt Perry wrote: > I think it's fair to put it into ...
11 years, 11 months ago (2009-01-28 07:14:32 UTC) #6
tommi (sloooow) - chröme
drive-by-review http://codereview.chromium.org/19411/diff/1/5 File chrome/common/scoped_temp_dir.cc (right): http://codereview.chromium.org/19411/diff/1/5#newcode11 Line 11: ScopedTempDir::ScopedTempDir(const FilePath& path) : path_(path) { see ...
11 years, 11 months ago (2009-01-28 16:12:16 UTC) #7
Erik does not do reviews
thanks for the drive-by http://codereview.chromium.org/19411/diff/1/5 File chrome/common/scoped_temp_dir.cc (right): http://codereview.chromium.org/19411/diff/1/5#newcode32 Line 32: } On 2009/01/28 16:12:16, ...
11 years, 11 months ago (2009-01-28 18:14:11 UTC) #8
Matt Perry
I like the new changes. http://codereview.chromium.org/19411/diff/21/220 File chrome/common/scoped_temp_dir.cc (right): http://codereview.chromium.org/19411/diff/21/220#newcode26 Line 26: path_ = path; ...
11 years, 11 months ago (2009-01-28 18:30:40 UTC) #9
tommi (sloooow) - chröme
lgtm with Matt's suggestions. thanks for making the changes. below are mostly nits, so if ...
11 years, 11 months ago (2009-01-28 18:38:21 UTC) #10
Mark Mentovai
I mostly just stopped by to say that I think it'd be cool if this ...
11 years, 11 months ago (2009-01-28 18:47:11 UTC) #11
Erik does not do reviews
I moved the files to base. Sorry that this means that the diffs don't match, ...
11 years, 11 months ago (2009-01-28 20:26:15 UTC) #12
Matt Perry
11 years, 11 months ago (2009-01-28 20:29:42 UTC) #13
lgtm, one final nit

http://codereview.chromium.org/19411/diff/238/243
File base/scoped_temp_dir.h (right):

http://codereview.chromium.org/19411/diff/238/243#newcode27
Line 27: bool CreateUniqueTempDir(FilePath* path);
The path argument seems like an unnecessary complication of the API, since a
caller could just use the path() accessor.

Powered by Google App Engine
This is Rietveld 408576698