| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 APP_APP_PATHS_H_ |
| 6 #define APP_APP_PATHS_H_ | 6 #define APP_APP_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 app { |
| 13 | 13 |
| 14 enum { | 14 enum { |
| 15 PATH_START = 2000, | 15 PATH_START = 2000, |
| 16 | 16 |
| 17 DIR_LOCALES, // Directory where locale resources are stored. | |
| 18 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. | 17 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. |
| 19 | 18 |
| 20 FILE_RESOURCES_PAK, // Path to the data .pak file which holds binary | |
| 21 // resources. | |
| 22 | |
| 23 // Valid only in development environment; TODO(darin): move these | |
| 24 DIR_TEST_DATA, // Directory where unit test data resides. | |
| 25 | |
| 26 PATH_END | 19 PATH_END |
| 27 }; | 20 }; |
| 28 | 21 |
| 29 // Call once to register the provider for the path keys defined above. | 22 // Call once to register the provider for the path keys defined above. |
| 30 void RegisterPathProvider(); | 23 void RegisterPathProvider(); |
| 31 | 24 |
| 32 } // namespace app | 25 } // namespace app |
| 33 | 26 |
| 34 #endif // APP_APP_PATHS_H_ | 27 #endif // APP_APP_PATHS_H_ |
| OLD | NEW |