| 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 CONTENT_PUBLIC_COMMON_CONTENT_PATHS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_PATHS_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_CONTENT_PATHS_H_ | 6 #define CONTENT_PUBLIC_COMMON_CONTENT_PATHS_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 | 9 |
| 10 // This file declares path keys for the content module. These can be used with | 10 // This file declares path keys for the content module. These can be used with |
| 11 // the PathService to access various special directories and files. | 11 // the PathService to access various special directories and files. |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 enum { | 15 enum { |
| 16 PATH_START = 4000, | 16 PATH_START = 4000, |
| 17 | 17 |
| 18 // Path and filename to the executable to use for child processes. | 18 // Path and filename to the executable to use for child processes. |
| 19 CHILD_PROCESS_EXE = PATH_START, | 19 CHILD_PROCESS_EXE = PATH_START, |
| 20 | 20 |
| 21 // Valid only in development environment | 21 // Valid only in development environment |
| 22 DIR_TEST_DATA, | 22 DIR_TEST_DATA, |
| 23 | 23 |
| 24 // Directory where the Media libraries reside. | 24 // Directory where the Media libraries reside. |
| 25 DIR_MEDIA_LIBS, | 25 DIR_MEDIA_LIBS, |
| 26 // Returns the LayoutTests path for layout tests. For the current git | |
| 27 // workflow, it returns | |
| 28 // third_party/WebKit/LayoutTests | |
| 29 // On svn workflow (including build machines) and older git workflow, it | |
| 30 // returns | |
| 31 // content/test/data/layout_tests/LayoutTests | |
| 32 // See http://crbug.com/105104. | |
| 33 DIR_LAYOUT_TESTS, | |
| 34 | 26 |
| 35 PATH_END | 27 PATH_END |
| 36 }; | 28 }; |
| 37 | 29 |
| 38 // 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. |
| 39 CONTENT_EXPORT void RegisterPathProvider(); | 31 CONTENT_EXPORT void RegisterPathProvider(); |
| 40 | 32 |
| 41 } // namespace content | 33 } // namespace content |
| 42 | 34 |
| 43 #endif // CONTENT_PUBLIC_COMMON_CONTENT_PATHS_H_ | 35 #endif // CONTENT_PUBLIC_COMMON_CONTENT_PATHS_H_ |
| OLD | NEW |