diff options
author | thorogood@chromium.org <thorogood@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-23 08:22:44 +0000 |
---|---|---|
committer | thorogood@chromium.org <thorogood@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-23 08:22:44 +0000 |
commit | 92e44ae0ad94910984b79979ad47d6b32b534c57 (patch) | |
tree | 9144c20bd36d281f3885c1b29539142b8cce0a55 /base/base_paths.h | |
parent | af312ef7fecc613eef9532fd64b48ca23110db09 (diff) | |
download | chromium_src-92e44ae0ad94910984b79979ad47d6b32b534c57.zip chromium_src-92e44ae0ad94910984b79979ad47d6b32b534c57.tar.gz chromium_src-92e44ae0ad94910984b79979ad47d6b32b534c57.tar.bz2 |
Prettify output from chrome.fileSystem.getDisplayPath for POSIX profile directories
This duplicates review 10693089, except for POSIX. Modifies e.g. "/home/sam/foo" to "~/foo". As a dependency, adds DIR_HOME to PathService for retrieving POSIX home directory.
BUG=135690
TEST=
Review URL: https://chromiumcodereview.appspot.com/10700136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths.h')
-rw-r--r-- | base/base_paths.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/base_paths.h b/base/base_paths.h index ea62a8b..3875fb4 100644 --- a/base/base_paths.h +++ b/base/base_paths.h @@ -40,6 +40,7 @@ enum BasePathKey { // browser cache can be a subdirectory. // This is $XDG_CACHE_HOME on Linux and // ~/Library/Caches on Mac. + DIR_HOME, // $HOME on POSIX-like systems. #endif PATH_END |