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