James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef TESTING_COVERAGE_UTIL_IOS_H_ |
| 6 | #define TESTING_COVERAGE_UTIL_IOS_H_ |
| 7 | |
| 8 | namespace coverage_util { |
| 9 | |
| 10 | // Flushes .gcda coverage files if ENABLE_TEST_CODE_COVERAGE is defined. iOS 7 |
| 11 | // does not call any code at the "end" of an app so flushing should be |
| 12 | // performed manually. |
| 13 | void FlushCoverageDataIfNecessary(); |
| 14 | |
| 15 | } // namespace coverage_util |
| 16 | |
| 17 | #endif // TESTING_COVERAGE_UTIL_IOS_H_ |