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

Unified Diff: ceee/testing/utils/test_utils.h

Issue 4390001: Fix the testing::LogDisabler for the change r64883. See http://codereview.chr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | « base/logging.cc ('k') | ceee/testing/utils/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/testing/utils/test_utils.h
===================================================================
--- ceee/testing/utils/test_utils.h (revision 64914)
+++ ceee/testing/utils/test_utils.h (working copy)
@@ -67,7 +67,8 @@
~LogDisabler();
private:
- int initial_log_level_;
+ logging::LogMessageHandlerFunction old_handler_;
+ static bool DropMessageHandler(int severity, const std::string& str);
};
// Overrides a path in the PathService singleton, replacing the
« no previous file with comments | « base/logging.cc ('k') | ceee/testing/utils/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698