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

Unified Diff: base/test/test_suite.h

Issue 542893002: Add trace-to-file support for base::TestSuite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CHECK -> DCHECK Created 6 years, 3 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: base/test/test_suite.h
diff --git a/base/test/test_suite.h b/base/test/test_suite.h
index 37cad03f992f2e9db95b520c7bf1b32af702141d..fe634a7aca289954517da76a9191f2dc92c6b647 100644
--- a/base/test/test_suite.h
+++ b/base/test/test_suite.h
@@ -12,6 +12,7 @@
#include <string>
#include "base/at_exit.h"
+#include "base/debug/trace_to_file.h"
#include "base/memory/scoped_ptr.h"
namespace testing {
@@ -80,6 +81,8 @@ class TestSuite {
// Basic initialization for the test suite happens here.
void PreInitialize(bool create_at_exit_manager);
+ debug::TraceToFile trace_to_file_;
+
bool initialized_command_line_;
DISALLOW_COPY_AND_ASSIGN(TestSuite);

Powered by Google App Engine
This is Rietveld 408576698