| OLD | NEW |
| 1 // Copyright (c) 2010 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 APP_APP_PATHS_H_ | 5 #ifndef UI_BASE_UI_BASE_PATHS_H_ |
| 6 #define APP_APP_PATHS_H_ | 6 #define UI_BASE_UI_BASE_PATHS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file declares path keys for the app module. These can be used with | 9 // This file declares path keys for the app module. These can be used with |
| 10 // the PathService to access various special directories and files. | 10 // the PathService to access various special directories and files. |
| 11 | 11 |
| 12 namespace app { | 12 namespace ui { |
| 13 | 13 |
| 14 enum { | 14 enum { |
| 15 PATH_START = 2000, | 15 PATH_START = 3000, |
| 16 | 16 |
| 17 DIR_LOCALES, // Directory where locale resources are stored. | 17 DIR_LOCALES, // Directory where locale resources are stored. |
| 18 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. | |
| 19 | 18 |
| 20 FILE_RESOURCES_PAK, // Path to the data .pak file which holds binary | 19 FILE_RESOURCES_PAK, // Path to the data .pak file which holds binary |
| 21 // resources. | 20 // resources. |
| 22 | 21 |
| 23 // Valid only in development environment; TODO(darin): move these | 22 // Valid only in development environment; TODO(darin): move these |
| 24 DIR_TEST_DATA, // Directory where unit test data resides. | 23 DIR_TEST_DATA, // Directory where unit test data resides. |
| 25 | 24 |
| 26 PATH_END | 25 PATH_END |
| 27 }; | 26 }; |
| 28 | 27 |
| 29 // Call once to register the provider for the path keys defined above. | 28 // Call once to register the provider for the path keys defined above. |
| 30 void RegisterPathProvider(); | 29 void RegisterPathProvider(); |
| 31 | 30 |
| 32 } // namespace app | 31 } // namespace ui |
| 33 | 32 |
| 34 #endif // APP_APP_PATHS_H_ | 33 #endif // UI_BASE_UI_BASE_PATHS_H_ |
| OLD | NEW |