OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_BASE_UI_BASE_PATHS_H_ | 5 #ifndef UI_BASE_UI_BASE_PATHS_H_ |
6 #define UI_BASE_UI_BASE_PATHS_H_ | 6 #define UI_BASE_UI_BASE_PATHS_H_ |
7 | 7 |
| 8 #include "build/build_config.h" |
8 #include "ui/base/ui_export.h" | 9 #include "ui/base/ui_export.h" |
9 | 10 |
10 // This file declares path keys for the app module. These can be used with | 11 // This file declares path keys for the app module. These can be used with |
11 // the PathService to access various special directories and files. | 12 // the PathService to access various special directories and files. |
12 | 13 |
13 namespace ui { | 14 namespace ui { |
14 | 15 |
15 enum { | 16 enum { |
16 PATH_START = 3000, | 17 PATH_START = 3000, |
17 | 18 |
18 DIR_LOCALES, // Directory where locale resources are stored. | 19 DIR_LOCALES, // Directory where locale resources are stored. |
19 | 20 |
20 // Valid only in development environment; TODO(darin): move these | 21 // Valid only in development environment; TODO(darin): move this |
21 DIR_TEST_DATA, // Directory where unit test data resides. | 22 DIR_TEST_DATA, // Directory where unit test data resides. |
22 | 23 |
| 24 #if defined(OS_ANDROID) |
| 25 DIR_RESOURCE_PAKS_ANDROID, |
| 26 #endif |
| 27 |
23 PATH_END | 28 PATH_END |
24 }; | 29 }; |
25 | 30 |
26 // Call once to register the provider for the path keys defined above. | 31 // Call once to register the provider for the path keys defined above. |
27 UI_EXPORT void RegisterPathProvider(); | 32 UI_EXPORT void RegisterPathProvider(); |
28 | 33 |
29 } // namespace ui | 34 } // namespace ui |
30 | 35 |
31 #endif // UI_BASE_UI_BASE_PATHS_H_ | 36 #endif // UI_BASE_UI_BASE_PATHS_H_ |
OLD | NEW |