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

Unified Diff: third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h

Issue 1982643002: Fix backwards WebRTC-in-Chromium override and expose Chromium logging setup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ...and expose it even if !defined(LOGGING_INSIDE_WEBRTC) Created 4 years, 7 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: third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h
diff --git a/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h b/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h
index 3a29c3afe961b99eb8985e7b768ca4285730b9a4..949875333774e9ee89f97ee4cdecf596482ec17d 100644
--- a/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h
+++ b/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h
@@ -57,7 +57,8 @@ std::string ErrorName(int err, const ConstantLabel* err_table);
// since the command line flag must be set using numerical values.
// TODO(tommi): To keep things simple, we should just use the same values for
// these constants as Chrome does.
-enum LoggingSeverity { LS_ERROR = 1,
+enum LoggingSeverity { LS_NONE = 0,
Henrik Grunell 2016/05/18 08:43:26 Describe this in the comment.
katrielc 2016/05/18 09:06:42 Acknowledged.
+ LS_ERROR = 1,
LS_WARNING = 2,
LS_INFO = 3,
LS_VERBOSE = 4,
@@ -130,7 +131,7 @@ class LogMultilineState {
class LogMessage {
public:
- static void LogToDebug(int min_sev);
+ static void LogToDebug(LoggingSeverity min_sev);
};
// When possible, pass optional state variable to track various data across
« no previous file with comments | « no previous file | third_party/webrtc_overrides/webrtc/base/logging.h » ('j') | third_party/webrtc_overrides/webrtc/base/logging.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698