OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium OS 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 // API for C and C++ bindings for unit tests for the Chromium OS | 5 // API for C and C++ bindings for unit tests for the Chromium OS |
6 // 'bootstat' facility. This interface is meant to be used by unit | 6 // 'bootstat' facility. This interface is meant to be used by unit |
7 // test code only, and is not intended to be exported for general | 7 // test code only, and is not intended to be exported for general |
8 // use. | 8 // use. |
9 | 9 |
10 #ifndef BOOTSTAT_TEST_H_ | 10 #ifndef BOOTSTAT_TEST_H_ |
11 #define BOOTSTAT_TEST_H_ | 11 #define BOOTSTAT_TEST_H_ |
12 | 12 |
13 #if defined(__cplusplus) | 13 #if defined(__cplusplus) |
14 extern "C" { | 14 extern "C" { |
15 #endif | 15 #endif |
16 | 16 |
17 extern void bootstat_set_output_directory(const char*); | |
18 extern void bootstat_set_uptime_file_name(const char*); | 17 extern void bootstat_set_uptime_file_name(const char*); |
19 extern void bootstat_set_disk_file_name(const char*); | 18 extern void bootstat_set_disk_file_name(const char*); |
20 | 19 |
21 #if defined(__cplusplus) | 20 #if defined(__cplusplus) |
22 } | 21 } |
23 #endif | 22 #endif |
24 #endif // BOOTSTAT_TEST_H_ | 23 #endif // BOOTSTAT_TEST_H_ |
OLD | NEW |