| OLD | NEW |
| 1 // Copyright (c) 2012 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/base/ui_export.h" | 9 #include "ui/base/ui_export.h" |
| 10 | 10 |
| 11 // 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 |
| 12 // the PathService to access various special directories and files. | 12 // the PathService to access various special 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 FILE_RESOURCES_PAK, // Path to the data .pak file which holds binary |
| 22 // resources. |
| 23 |
| 21 // Valid only in development environment; TODO(darin): move these | 24 // Valid only in development environment; TODO(darin): move these |
| 22 DIR_TEST_DATA, // Directory where unit test data resides. | 25 DIR_TEST_DATA, // Directory where unit test data resides. |
| 23 | 26 |
| 24 PATH_END | 27 PATH_END |
| 25 }; | 28 }; |
| 26 | 29 |
| 27 // Call once to register the provider for the path keys defined above. | 30 // Call once to register the provider for the path keys defined above. |
| 28 UI_EXPORT void RegisterPathProvider(); | 31 UI_EXPORT void RegisterPathProvider(); |
| 29 | 32 |
| 30 } // namespace ui | 33 } // namespace ui |
| 31 | 34 |
| 32 #endif // UI_BASE_UI_BASE_PATHS_H_ | 35 #endif // UI_BASE_UI_BASE_PATHS_H_ |
| OLD | NEW |