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

Side by Side Diff: base/base_paths.h

Issue 5123004: chrome_paths: refactor and sanitize cache directory handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works Created 10 years, 1 month 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 | « no previous file | base/base_paths_linux.cc » ('j') | chrome/common/chrome_paths_internal.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 14 matching lines...) Expand all
25 DIR_EXE, // directory containing FILE_EXE 25 DIR_EXE, // directory containing FILE_EXE
26 DIR_MODULE, // directory containing FILE_MODULE 26 DIR_MODULE, // directory containing FILE_MODULE
27 DIR_TEMP, // temporary directory 27 DIR_TEMP, // temporary directory
28 FILE_EXE, // Path and filename of the current executable. 28 FILE_EXE, // Path and filename of the current executable.
29 FILE_MODULE, // Path and filename of the module containing the code for the 29 FILE_MODULE, // Path and filename of the module containing the code for the
30 // PathService (which could differ from FILE_EXE if the 30 // PathService (which could differ from FILE_EXE if the
31 // PathService were compiled into a shared object, for example). 31 // PathService were compiled into a shared object, for example).
32 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful 32 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful
33 // for tests that need to locate various resources. It 33 // for tests that need to locate various resources. It
34 // should not be used outside of test code. 34 // should not be used outside of test code.
35 #if defined(OS_POSIX)
36 DIR_USER_CACHE, // Directory where user cache data resides. The Chromium
37 // browser cache can be a subdirectory of DIR_USER_CACHE.
38 // This is $XDG_CACHE_HOME on Linux and ~/Library/Caches
39 // on Mac.
40 #endif
41 35
42 PATH_END 36 PATH_END
43 }; 37 };
44 38
45 } // namespace base 39 } // namespace base
46 40
47 #endif // BASE_BASE_PATHS_H_ 41 #endif // BASE_BASE_PATHS_H_
OLDNEW
« no previous file with comments | « no previous file | base/base_paths_linux.cc » ('j') | chrome/common/chrome_paths_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698