|
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 |
|
3 // found in the LICENSE file. |
|
4 |
|
5 #ifndef BASE_BASE_PATHS_LINUX_H_ |
|
6 #define BASE_BASE_PATHS_LINUX_H_ |
|
7 |
|
8 // This file declares Linux-specific path keys for the base module. |
|
9 // These can be used with the PathService to access various special |
|
10 // directories and files. |
|
11 |
|
12 namespace base { |
|
13 |
|
14 enum { |
|
15 PATH_LINUX_START = 200, |
|
16 |
|
17 FILE_EXE, // Path and filename of the current executable. |
|
18 FILE_MODULE, // Path and filename of the module containing the code for the |
|
19 // PathService (which could differ from FILE_EXE if the |
|
20 // PathService were compiled into a shared object, for example). |
|
21 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful |
|
22 // for tests that need to locate various resources. It |
|
23 // should not be used outside of test code. |
|
24 |
|
25 PATH_LINUX_END |
|
26 }; |
|
27 |
|
28 } // namespace base |
|
29 |
|
30 #endif // BASE_BASE_PATHS_LINUX_H_ |