Chromium Code Reviews
Help | Chromium Project | Sign in
(343)

Issue 3133031: Make TestingProfile use ScopedTempDir. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 9 months ago by Paweł Hajdan Jr.
Modified:
4 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., Erik does not do reviews, Aaron Boodman, pam+watch_chromium.org
Visibility:
Public.

Description

Make TestingProfile use ScopedTempDir. Add some logic that tries to recover from common errors that happen on the bots. We need to CHECK in really bad cases because otherwise we'd end up writing to places where we should never write, like the filesystem root. TEST=unit_tests and others BUG=51833 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56909

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixes #

Patch Set 3 : trybots #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -57 lines) Patch
M chrome/browser/bookmarks/bookmark_drag_data_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/net/gaia/token_service_unittest.cc View 3 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/views/bookmark_bar_view_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/testing_profile.h View 4 chunks +4 lines, -17 lines 0 comments Download
M chrome/test/testing_profile.cc View 1 4 chunks +28 lines, -30 lines 0 comments Download
Commit: CQ not working?

Messages

Total messages: 6 (0 generated)
Paweł Hajdan Jr.
4 years, 9 months ago (2010-08-19 22:00:40 UTC) #1
chron_chromium.org
Does really nothing use the *count* param? When I tried this there were a few ...
4 years, 9 months ago (2010-08-19 22:05:32 UTC) #2
sky
I thought the other constructor was used too in a couple of places. Maybe they've ...
4 years, 9 months ago (2010-08-19 22:24:24 UTC) #3
Paweł Hajdan Jr.
Please take another look. http://codereview.chromium.org/3133031/diff/1/3 File chrome/test/testing_profile.cc (right): http://codereview.chromium.org/3133031/diff/1/3#newcode185 chrome/test/testing_profile.cc:185: FilePath fallback_dir(system_tmp_dir.AppendASCII("TestingProfilePath")); On 2010/08/19 22:24:24, ...
4 years, 9 months ago (2010-08-20 17:07:23 UTC) #4
chron_chromium.org
LGTM
4 years, 9 months ago (2010-08-20 19:54:23 UTC) #5
sky
4 years, 9 months ago (2010-08-20 20:05:29 UTC) #6
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be