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

Unified Diff: base/logging_unittest.cc

Issue 66513005: Try to fix official bot after r234080. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/logging_unittest.cc
diff --git a/base/logging_unittest.cc b/base/logging_unittest.cc
index bff10ebdf8d622a1787c14977f22c4abddf0709d..c681253bdb25127e864b87f4412d9c3f9ca0fc21 100644
--- a/base/logging_unittest.cc
+++ b/base/logging_unittest.cc
@@ -17,9 +17,11 @@ using ::testing::Return;
// Needs to be global since log assert handlers can't maintain state.
int log_sink_call_count = 0;
+#if !defined(LOGGING_IS_OFFICIAL_BUILD)
void LogSink(const std::string& str) {
++log_sink_call_count;
}
+#endif // !defined(LOGGING_IS_OFFICIAL_BUILD)
// Class to make sure any manipulations we do to the min log level are
// contained (i.e., do not affect other unit tests).
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698