| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include <stdio.h> | 11 #include <stdio.h> |
| 12 | 12 |
| 13 #ifndef WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_ | 13 #ifndef WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_ |
| 14 #define WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_ | 14 #define WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_ |
| 15 | 15 |
| 16 #include <string> | 16 #include <string> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/rtc_base/optional.h" | 19 #include "webrtc/api/optional.h" |
| 20 | 20 |
| 21 namespace webrtc { | 21 namespace webrtc { |
| 22 namespace test { | 22 namespace test { |
| 23 | 23 |
| 24 // This is the "directory" returned if the ProjectPath() function fails | 24 // This is the "directory" returned if the ProjectPath() function fails |
| 25 // to find the project root. | 25 // to find the project root. |
| 26 extern const char* kCannotFindProjectRootDir; | 26 extern const char* kCannotFindProjectRootDir; |
| 27 | 27 |
| 28 // Creates and returns the absolute path to the output directory where log files | 28 // Creates and returns the absolute path to the output directory where log files |
| 29 // and other test artifacts should be put. The output directory is generally a | 29 // and other test artifacts should be put. The output directory is generally a |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // but can also be an absolute path. The intention with this function is to pass | 101 // but can also be an absolute path. The intention with this function is to pass |
| 102 // the argv[0] being sent into the main function to make it possible for | 102 // the argv[0] being sent into the main function to make it possible for |
| 103 // fileutils.h to find the correct project paths even when the working directory | 103 // fileutils.h to find the correct project paths even when the working directory |
| 104 // is outside the project tree (which happens in some cases). | 104 // is outside the project tree (which happens in some cases). |
| 105 void SetExecutablePath(const std::string& path_to_executable); | 105 void SetExecutablePath(const std::string& path_to_executable); |
| 106 | 106 |
| 107 } // namespace test | 107 } // namespace test |
| 108 } // namespace webrtc | 108 } // namespace webrtc |
| 109 | 109 |
| 110 #endif // WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_ | 110 #endif // WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_ |
| OLD | NEW |