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

Unified Diff: remoting/host/native_messaging/log_message_handler.h

Issue 2034393004: Allow multiple logging::LogMessage{Handler,Listener}s Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up, MockLog uses listener Created 4 years, 5 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: remoting/host/native_messaging/log_message_handler.h
diff --git a/remoting/host/native_messaging/log_message_handler.h b/remoting/host/native_messaging/log_message_handler.h
index 201c7ba77cf9df592ece0827b0a17e79bfcbaa82..6c093448a85716e002e2704cf7c481bc2fcb3fd9 100644
--- a/remoting/host/native_messaging/log_message_handler.h
+++ b/remoting/host/native_messaging/log_message_handler.h
@@ -15,7 +15,7 @@
namespace remoting {
-// Helper class for logging::SetLogMessageHandler to deliver log messages to
+// Helper class for logging::PushLogMessageHandler to deliver log messages to
// a consistent thread in a thread-safe way and in a format suitable for sending
// over a Native Messaging channel.
class LogMessageHandler {
@@ -41,7 +41,6 @@ class LogMessageHandler {
Delegate delegate_;
bool suppress_logging_;
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
- logging::LogMessageHandlerFunction previous_log_message_handler_;
base::WeakPtrFactory<LogMessageHandler> weak_ptr_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698