| 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 CONTENT_COMMON_CONTENT_PATHS_H_ | 5 #ifndef CONTENT_COMMON_CONTENT_PATHS_H_ |
| 6 #define CONTENT_COMMON_CONTENT_PATHS_H_ | 6 #define CONTENT_COMMON_CONTENT_PATHS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/content_export.h" |
| 10 |
| 9 // This file declares path keys for the content module. These can be used with | 11 // This file declares path keys for the content module. These can be used with |
| 10 // the PathService to access various special directories and files. | 12 // the PathService to access various special directories and files. |
| 11 | 13 |
| 12 namespace content { | 14 namespace content { |
| 13 | 15 |
| 14 enum { | 16 enum { |
| 15 PATH_START = 4000, | 17 PATH_START = 4000, |
| 16 | 18 |
| 17 // Path and filename to the executable to use for child processes. | 19 // Path and filename to the executable to use for child processes. |
| 18 CHILD_PROCESS_EXE = PATH_START, | 20 CHILD_PROCESS_EXE = PATH_START, |
| 19 | 21 |
| 20 // Valid only in development environment | 22 // Valid only in development environment |
| 21 DIR_TEST_DATA, | 23 DIR_TEST_DATA, |
| 22 | 24 |
| 23 PATH_END | 25 PATH_END |
| 24 }; | 26 }; |
| 25 | 27 |
| 26 // 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. |
| 27 void RegisterPathProvider(); | 29 CONTENT_EXPORT void RegisterPathProvider(); |
| 28 | 30 |
| 29 } // namespace content | 31 } // namespace content |
| 30 | 32 |
| 31 #endif // CONTENT_COMMON_CONTENT_PATHS_H_ | 33 #endif // CONTENT_COMMON_CONTENT_PATHS_H_ |
| OLD | NEW |