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

Unified Diff: remoting/host/setup/me2me_native_messaging_host.cc

Issue 2034393004: Allow multiple logging::LogMessage{Handler,Listener}s Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 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
Index: remoting/host/setup/me2me_native_messaging_host.cc
diff --git a/remoting/host/setup/me2me_native_messaging_host.cc b/remoting/host/setup/me2me_native_messaging_host.cc
index 1b054f22577bfdb6539cb0a5a8d7c66e19e68dd8..a0a8a96275a7f9ce381c995c14023b17752cc8ee 100644
--- a/remoting/host/setup/me2me_native_messaging_host.cc
+++ b/remoting/host/setup/me2me_native_messaging_host.cc
@@ -161,7 +161,7 @@ void Me2MeNativeMessagingHost::OnMessage(const std::string& message) {
void Me2MeNativeMessagingHost::Start(Client* client) {
DCHECK(task_runner()->BelongsToCurrentThread());
client_ = client;
- log_message_handler_.reset(new LogMessageHandler(
+ log_message_listener_.reset(new LogMessageListener(
base::Bind(&Me2MeNativeMessagingHost::SendMessageToClient, weak_ptr_)));
}

Powered by Google App Engine
This is Rietveld 408576698