| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_H_ | 5 #ifndef MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_H_ |
| 6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_H_ | 6 #define MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_H_ |
| 7 | 7 |
| 8 // Note: This header should be compilable as C. | 8 // Note: This header should be compilable as C. |
| 9 | 9 |
| 10 #include <stdio.h> | 10 #include <stdio.h> |
| 11 | 11 |
| 12 #include "third_party/mojo/src/mojo/public/c/test_support/test_support_export.h" | 12 #include "mojo/public/c/test_support/test_support_export.h" |
| 13 | 13 |
| 14 #ifdef __cplusplus | 14 #ifdef __cplusplus |
| 15 extern "C" { | 15 extern "C" { |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 // |sub_test_name| is optional. If not null, it usually describes one particular | 18 // |sub_test_name| is optional. If not null, it usually describes one particular |
| 19 // configuration of the test. For example, if |test_name| is "TestPacketRate", | 19 // configuration of the test. For example, if |test_name| is "TestPacketRate", |
| 20 // |sub_test_name| could be "100BytesPerPacket". | 20 // |sub_test_name| could be "100BytesPerPacket". |
| 21 // When the perf data is visualized by the performance dashboard, data with | 21 // When the perf data is visualized by the performance dashboard, data with |
| 22 // different |sub_test_name|s (but the same |test_name|) are depicted as | 22 // different |sub_test_name|s (but the same |test_name|) are depicted as |
| (...skipping 22 matching lines...) Expand all Loading... |
| 45 // rv[N] = NULL; | 45 // rv[N] = NULL; |
| 46 // | 46 // |
| 47 MOJO_TEST_SUPPORT_EXPORT | 47 MOJO_TEST_SUPPORT_EXPORT |
| 48 char** MojoTestSupportEnumerateSourceRootRelativeDirectory( | 48 char** MojoTestSupportEnumerateSourceRootRelativeDirectory( |
| 49 const char* source_root_relative_path); | 49 const char* source_root_relative_path); |
| 50 | 50 |
| 51 #ifdef __cplusplus | 51 #ifdef __cplusplus |
| 52 } // extern "C" | 52 } // extern "C" |
| 53 #endif | 53 #endif |
| 54 | 54 |
| 55 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_H_ | 55 #endif // MOJO_PUBLIC_C_TEST_SUPPORT_TEST_SUPPORT_H_ |
| OLD | NEW |