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

Side by Side Diff: base/base_paths.h

Issue 10700136: Prettify output from chrome.fileSystem.getDisplayPath for POSIX profile directories (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: guard code with OS_WIN || OS_POSIX, plus FilePath fix Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/base_paths_posix.cc » ('j') | base/base_paths_posix.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_BASE_PATHS_H_ 5 #ifndef BASE_BASE_PATHS_H_
6 #define BASE_BASE_PATHS_H_ 6 #define BASE_BASE_PATHS_H_
7 #pragma once 7 #pragma once
8 8
9 // This file declares path keys for the base module. These can be used with 9 // This file declares path keys for the base module. These can be used with
10 // the PathService to access various special directories and files. 10 // the PathService to access various special directories and files.
(...skipping 23 matching lines...) Expand all
34 // PathService were compiled into a shared object, for example). 34 // PathService were compiled into a shared object, for example).
35 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful 35 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful
36 // for tests that need to locate various resources. It 36 // for tests that need to locate various resources. It
37 // should not be used outside of test code. 37 // should not be used outside of test code.
38 #if defined(OS_POSIX) 38 #if defined(OS_POSIX)
39 DIR_CACHE, // Directory where to put cache data. Note this is 39 DIR_CACHE, // Directory where to put cache data. Note this is
40 // *not* where the browser cache lives, but the 40 // *not* where the browser cache lives, but the
41 // browser cache can be a subdirectory. 41 // browser cache can be a subdirectory.
42 // This is $XDG_CACHE_HOME on Linux and 42 // This is $XDG_CACHE_HOME on Linux and
43 // ~/Library/Caches on Mac. 43 // ~/Library/Caches on Mac.
44 DIR_HOME, // $HOME on POSIX-like systems.
44 #endif 45 #endif
45 46
46 PATH_END 47 PATH_END
47 }; 48 };
48 49
49 } // namespace base 50 } // namespace base
50 51
51 #endif // BASE_BASE_PATHS_H_ 52 #endif // BASE_BASE_PATHS_H_
OLDNEW
« no previous file with comments | « no previous file | base/base_paths_posix.cc » ('j') | base/base_paths_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698