Chromium Code Reviews
Descriptionchromeos: Replace "/tmp" with a call to PathService::Get()
This is in preparation for adding a browser test that is to
ensure access control for file:scheme is working. In the
browser test, I plan to use PathService::Get(DIR_TEMP) to
store a symbolic link in a location that's accessible via file:
scheme.
Confirmed that PathService::Get(DIR_TEMP) returns /tmp in
production so this patch does not change the production
behavior.
Along the way, simplify the code a bit by introducing a vector.
TEST=file:///tmp is still accessible on a Chromebook
BUG=677933
Review-Url: https://codereview.chromium.org/2926543002
Cr-Commit-Position: refs/heads/master@{#477885}
Committed: https://chromium.googlesource.com/chromium/src/+/ca8b564942b90a8ce527933dca71645880e214ab
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments #
Messages
Total messages: 21 (16 generated)
|
||||||||||||||||||||||||||||