Avi Drissman | 3e1a26c | 2022-09-15 20:26:03 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 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 UI_BASE_UI_BASE_PATHS_H_ | ||||
6 | #define UI_BASE_UI_BASE_PATHS_H_ | ||||
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 7 | |
Henrique Ferreiro | 376c765 | 2020-05-22 09:00:04 | [diff] [blame] | 8 | #include "base/component_export.h" |
[email protected] | f152b67b | 2012-08-03 12:43:29 | [diff] [blame] | 9 | #include "build/build_config.h" |
[email protected] | ea47b6a | 2011-07-17 19:39:42 | [diff] [blame] | 10 | |
[email protected] | 9911b5e | 2014-05-15 18:33:05 | [diff] [blame] | 11 | // This file declares path keys for various special directories. These can be |
12 | // used with the PathService to access these directories and files. | ||||
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 13 | |
14 | namespace ui { | ||||
15 | |||||
16 | enum { | ||||
17 | PATH_START = 3000, | ||||
18 | |||||
Sylvain Defresne | eeef569 | 2023-06-19 13:08:33 | [diff] [blame] | 19 | #if !BUILDFLAG(IS_IOS) |
Xiaohan Wang | 8407409 | 2022-01-20 21:25:54 | [diff] [blame] | 20 | DIR_LOCALES, // Directory where locale resources are stored. |
Sylvain Defresne | eeef569 | 2023-06-19 13:08:33 | [diff] [blame] | 21 | #endif |
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 22 | |
[email protected] | f152b67b | 2012-08-03 12:43:29 | [diff] [blame] | 23 | // Valid only in development environment; TODO(darin): move this |
Xiaohan Wang | 8407409 | 2022-01-20 21:25:54 | [diff] [blame] | 24 | UI_DIR_TEST_DATA, // Directory where unit test data resides. |
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 25 | |
Xiaohan Wang | 8407409 | 2022-01-20 21:25:54 | [diff] [blame] | 26 | #if BUILDFLAG(IS_ANDROID) |
[email protected] | f152b67b | 2012-08-03 12:43:29 | [diff] [blame] | 27 | DIR_RESOURCE_PAKS_ANDROID, |
28 | #endif | ||||
29 | |||||
[email protected] | 9911b5e | 2014-05-15 18:33:05 | [diff] [blame] | 30 | UI_TEST_PAK, |
31 | |||||
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 32 | PATH_END |
33 | }; | ||||
34 | |||||
dcheng | c52359d | 2014-10-16 00:36:34 | [diff] [blame] | 35 | // Call once to register the provider for the path keys defined above. |
Henrique Ferreiro | 376c765 | 2020-05-22 09:00:04 | [diff] [blame] | 36 | COMPONENT_EXPORT(UI_BASE) void RegisterPathProvider(); |
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 37 | |
38 | } // namespace ui | ||||
39 | |||||
40 | #endif // UI_BASE_UI_BASE_PATHS_H_ |