aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mentovai <mark@chromium.org>2019-07-03 15:44:29 -0400
committerMark Mentovai <mark@chromium.org>2019-07-12 17:06:06 +0000
commit02dd8e0da723d1086e46f91f64fe549c4b9cbe00 (patch)
tree19181cf5461b72a14a2ef9f83c67ec521d2f523f
parentFix Windows symupload after PE-only MD refactor. (diff)
downloadbreakpad-02dd8e0da723d1086e46f91f64fe549c4b9cbe00.tar.xz
Remove base_logging::LogMessage
This is deprecated in the downstream consumer that it was introduced to support. This undoes b41ad66e93562. Change-Id: I3e0fa068b134014700128d1d75cae6a20d591d12 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1687125 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
-rw-r--r--src/processor/logging.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/processor/logging.h b/src/processor/logging.h
index a9f30920..43f3cfc9 100644
--- a/src/processor/logging.h
+++ b/src/processor/logging.h
@@ -67,18 +67,6 @@
#include BP_LOGGING_INCLUDE
#endif // BP_LOGGING_INCLUDE
-#ifndef THIRD_PARTY_BREAKPAD_GOOGLE_GLUE_LOGGING_H_
-namespace base_logging {
-
-// The open-source copy of logging.h has diverged from Google's internal copy
-// (temporarily, at least). To support the transition to structured logging
-// a definition for base_logging::LogMessage is needed, which is a ostream-
-// like object for streaming arguments to construct a log message.
-typedef std::ostream LogMessage;
-
-} // namespace base_logging
-#endif // THIRD_PARTY_BREAKPAD_GOOGLE_GLUE_LOGGING_H_
-
namespace google_breakpad {
// These are defined in Microsoft headers.
@@ -128,7 +116,7 @@ class LogMessageVoidify {
// This has to be an operator with a precedence lower than << but higher
// than ?:
- void operator&(base_logging::LogMessage &) {}
+ void operator&(std::ostream &) {}
};
// Returns number formatted as a hexadecimal string, such as "0x7b".