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