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

Unified Diff: remoting/host/ipc_host_event_logger.cc

Issue 1061903002: Disable chromoting service on permanent errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/ipc_host_event_logger.cc
diff --git a/remoting/host/ipc_host_event_logger.cc b/remoting/host/ipc_host_event_logger.cc
index f012d410a9d83bab4d986d4836ffd81dafa9a430..6be43db0911fb6b141e754f32c24f4332e232441 100644
--- a/remoting/host/ipc_host_event_logger.cc
+++ b/remoting/host/ipc_host_event_logger.cc
@@ -69,10 +69,10 @@ void IpcHostEventLogger::OnClientRouteChange(
jid, channel_name, serialized_route));
}
-void IpcHostEventLogger::OnShutdown() {
+void IpcHostEventLogger::OnShutdown(HostExitCodes exit_code) {
DCHECK(CalledOnValidThread());
- daemon_channel_->Send(new ChromotingNetworkDaemonMsg_HostShutdown());
+ daemon_channel_->Send(new ChromotingNetworkDaemonMsg_HostShutdown(exit_code));
}
void IpcHostEventLogger::OnStart(const std::string& xmpp_login) {

Powered by Google App Engine
This is Rietveld 408576698