Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1549)

Unified Diff: testing/coverage_util_ios.h

Issue 375033002: Flush gcda (code coverage) files manually in iOS Platform Test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Corrected ifdef guards Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | testing/coverage_util_ios.cc » ('j') | testing/coverage_util_ios.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ccf097d9b53249527927d458eff8065a1aa682cd
--- /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 and
+// current platform is iOS. 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_
« no previous file with comments | « no previous file | testing/coverage_util_ios.cc » ('j') | testing/coverage_util_ios.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698