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

Side by Side Diff: base/base_paths.h

Issue 183016: Port some of the base module to FreeBSD. Extracted from... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Minor edits Created 11 years, 3 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 | « no previous file | base/base_paths_linux.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) 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 7
8 // This file declares path keys for the base module. These can be used with 8 // This file declares path keys for the base module. These can be used with
9 // the PathService to access various special directories and files. 9 // the PathService to access various special directories and files.
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 #include "base/base_paths_win.h" 13 #include "base/base_paths_win.h"
14 #elif defined(OS_MACOSX) 14 #elif defined(OS_MACOSX)
15 #include "base/base_paths_mac.h" 15 #include "base/base_paths_mac.h"
16 #elif defined(OS_LINUX) 16 #elif defined(OS_LINUX) || defined(OS_FREEBSD)
17 #include "base/base_paths_linux.h" 17 #include "base/base_paths_linux.h"
18 #endif 18 #endif
19 #include "base/path_service.h" 19 #include "base/path_service.h"
20 20
21 namespace base { 21 namespace base {
22 22
23 enum { 23 enum {
24 PATH_START = 0, 24 PATH_START = 0,
25 25
26 DIR_CURRENT, // current directory 26 DIR_CURRENT, // current directory
27 DIR_EXE, // directory containing FILE_EXE 27 DIR_EXE, // directory containing FILE_EXE
28 DIR_MODULE, // directory containing FILE_MODULE 28 DIR_MODULE, // directory containing FILE_MODULE
29 DIR_TEMP, // temporary directory 29 DIR_TEMP, // temporary directory
30 PATH_END 30 PATH_END
31 }; 31 };
32 32
33 } // namespace base 33 } // namespace base
34 34
35 #endif // BASE_BASE_PATHS_H_ 35 #endif // BASE_BASE_PATHS_H_
OLDNEW
« no previous file with comments | « no previous file | base/base_paths_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698