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

Unified Diff: mojo/public/tests/test_support_private.h

Issue 229683005: Validate MessageHeader before using (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug printfs Created 6 years, 8 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
Index: mojo/public/tests/test_support_private.h
diff --git a/mojo/public/tests/test_support_private.h b/mojo/public/tests/test_support_private.h
index 3674fec58677f21f858ae09de22d346b24d9f4ec..29983cad8cd898bdfb2b1b400c40c22a5d3dd57f 100644
--- a/mojo/public/tests/test_support_private.h
+++ b/mojo/public/tests/test_support_private.h
@@ -5,6 +5,8 @@
#ifndef MOJO_PUBLIC_TESTS_TEST_SUPPORT_PRIVATE_H_
#define MOJO_PUBLIC_TESTS_TEST_SUPPORT_PRIVATE_H_
+#include <stdio.h>
+
#include "mojo/public/c/test_support/test_support.h"
namespace mojo {
@@ -23,6 +25,9 @@ class MOJO_TEST_SUPPORT_EXPORT TestSupport {
virtual void LogPerfResult(const char* test_name,
double value,
const char* units) = 0;
+ virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) = 0;
+ virtual char** EnumerateSourceRootRelativeDirectory(
+ const char* relative_path) = 0;
};
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698