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

Side by Side Diff: base/base_paths_posix.h

Issue 159833003: Add support for GetHomeDir for Mac and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « base/base_paths_mac.mm ('k') | base/base_paths_posix.cc » ('j') | no next file with comments »
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_POSIX_H_ 5 #ifndef BASE_BASE_PATHS_POSIX_H_
6 #define BASE_BASE_PATHS_POSIX_H_ 6 #define BASE_BASE_PATHS_POSIX_H_
7 7
8 // This file declares windows-specific path keys for the base module. 8 // This file declares windows-specific path keys for the base module.
9 // These can be used with the PathService to access various special 9 // These can be used with the PathService to access various special
10 // directories and files. 10 // directories and files.
11 11
12 namespace base { 12 namespace base {
13 13
14 enum { 14 enum {
15 PATH_POSIX_START = 400, 15 PATH_POSIX_START = 400,
16 16
17 DIR_CACHE, // Directory where to put cache data. Note this is 17 DIR_CACHE, // Directory where to put cache data. Note this is
18 // *not* where the browser cache lives, but the 18 // *not* where the browser cache lives, but the
19 // browser cache can be a subdirectory. 19 // browser cache can be a subdirectory.
20 // This is $XDG_CACHE_HOME on Linux and 20 // This is $XDG_CACHE_HOME on Linux and
21 // ~/Library/Caches on Mac. 21 // ~/Library/Caches on Mac.
22 DIR_HOME, // $HOME on POSIX-like systems.
23
24 PATH_POSIX_END 22 PATH_POSIX_END
25 }; 23 };
26 24
27 } // namespace base 25 } // namespace base
28 26
29 #endif // BASE_BASE_PATHS_POSIX_H_ 27 #endif // BASE_BASE_PATHS_POSIX_H_
OLDNEW
« no previous file with comments | « base/base_paths_mac.mm ('k') | base/base_paths_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698