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

Issue 219043: Refuse to start if we can't get the user data directory. (Closed)

Created:
11 years, 3 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
tony, Evan Stade
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Refuse to start if we can't get the user data directory. The alternative is spewing private user data in random directories. BUG=22277 TEST=chmod -x ~/.config; Chrome should refuse to start Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27252

Patch Set 1 #

Total comments: 1

Patch Set 2 : more cleanups #

Patch Set 3 : wrap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M chrome/browser/browser_main.cc View 1 2 3 chunks +19 lines, -7 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Evan Martin
11 years, 3 months ago (2009-09-25 01:48:17 UTC) #1
Evan Stade
http://codereview.chromium.org/219043/diff/1/3 File chrome/common/chrome_paths.cc (right): http://codereview.chromium.org/219043/diff/1/3#newcode77 Line 77: if (!GetDefaultUserDataDirectory(&cur)) { it appears that this function ...
11 years, 3 months ago (2009-09-25 02:10:24 UTC) #2
tony
There's code currently to use /tmp on linux if we can't get the user data ...
11 years, 3 months ago (2009-09-25 18:25:05 UTC) #3
Evan Martin
On 2009/09/25 18:25:05, tony wrote: > There's code currently to use /tmp on linux if ...
11 years, 3 months ago (2009-09-25 18:33:40 UTC) #4
Evan Martin
look again GetDefaultUserDataDirectory can fail on windows, fwiw
11 years, 3 months ago (2009-09-25 19:20:30 UTC) #5
Evan Stade
ah, so I was confused because the description seems to indicate that you are testing ...
11 years, 3 months ago (2009-09-25 19:52:14 UTC) #6
tony
11 years, 3 months ago (2009-09-25 19:54:14 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698