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

Unified Diff: net/test/scoped_disable_exit_on_dfatal.h

Issue 2638763004: Report CHECK/DCHECK to test launcher summary output. (Closed)
Patch Set: Add test for assert handlers nesting. Created 3 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: net/test/scoped_disable_exit_on_dfatal.h
diff --git a/net/test/scoped_disable_exit_on_dfatal.h b/net/test/scoped_disable_exit_on_dfatal.h
index 33f06e3bc59ce534f786ba33ef58284938d6be83..5bb7643e57b01be7a263b8798d7dbd8ba109d3e7 100644
--- a/net/test/scoped_disable_exit_on_dfatal.h
+++ b/net/test/scoped_disable_exit_on_dfatal.h
@@ -23,12 +23,14 @@ class ScopedDisableExitOnDFatal {
~ScopedDisableExitOnDFatal();
private:
- // Currently active instance.
- static ScopedDisableExitOnDFatal* g_instance_;
-
// Static function which is set as the logging assert handler.
// Called when there is a check failure.
- static void LogAssertHandler(const std::string& msg);
+ static void LogAssertHandler(const char* file,
+ int line,
+ const base::StringPiece message,
+ const base::StringPiece stack_trace);
+
+ logging::ScopedLogAssertHandler assert_handler_;
DISALLOW_COPY_AND_ASSIGN(ScopedDisableExitOnDFatal);
};
« no previous file with comments | « ios/chrome/browser/ui/collection_view/collection_view_model_unittest.mm ('k') | net/test/scoped_disable_exit_on_dfatal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698