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

Unified Diff: remoting/host/it2me/it2me_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/it2me/it2me_native_messaging_host.cc
diff --git a/remoting/host/it2me/it2me_native_messaging_host.cc b/remoting/host/it2me/it2me_native_messaging_host.cc
index 5d87e2087afa3cc5eeaa4f15dfc40ad5f8f60768..e95a30ea6a26b2479a4f1c2a72934bc577e380eb 100644
--- a/remoting/host/it2me/it2me_native_messaging_host.cc
+++ b/remoting/host/it2me/it2me_native_messaging_host.cc
@@ -159,10 +159,8 @@ void It2MeNativeMessagingHost::Start(Client* client) {
DCHECK(task_runner()->BelongsToCurrentThread());
client_ = client;
#if !defined(OS_CHROMEOS)
- log_message_handler_.reset(
- new LogMessageHandler(
- base::Bind(&It2MeNativeMessagingHost::SendMessageToClient,
- base::Unretained(this))));
+ log_message_listener_.reset(new LogMessageListener(base::Bind(
+ &It2MeNativeMessagingHost::SendMessageToClient, base::Unretained(this))));
#endif // !defined(OS_CHROMEOS)
}

Powered by Google App Engine
This is Rietveld 408576698