Index: testing/coverage_util_ios.h |
diff --git a/testing/coverage_util_ios.h b/testing/coverage_util_ios.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..702811aa7b2e93b27389428888bc336918a4895a |
--- /dev/null |
+++ b/testing/coverage_util_ios.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef TESTING_COVERAGE_UTIL_IOS_H_ |
+#define TESTING_COVERAGE_UTIL_IOS_H_ |
+ |
+namespace coverage_util { |
+ |
+// Flushes .gcda coverage files if ENABLE_TEST_CODE_COVERAGE is defined. iOS 7 |
+// does not call any code at the "end" of an app so flushing should be |
+// performed manually. |
+void FlushCoverageDataIfNecessary(); |
+ |
+} // namespace coverage_util |
+ |
+#endif // TESTING_COVERAGE_UTIL_IOS_H_ |