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

Unified Diff: remoting/host/host_event_logger_win.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/host_event_logger_win.cc
diff --git a/remoting/host/host_event_logger_win.cc b/remoting/host/host_event_logger_win.cc
index fa58b5247b954e926bf0584c9a002cc2e19501eb..1d660e791e72b20c26261991c951d663c65fe9d6 100644
--- a/remoting/host/host_event_logger_win.cc
+++ b/remoting/host/host_event_logger_win.cc
@@ -39,7 +39,7 @@ class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver {
const std::string& channel_name,
const protocol::TransportRoute& route) override;
virtual void OnStart(const std::string& xmpp_login) override;
- virtual void OnShutdown() override;
+ virtual void OnShutdown(HostExitCodes exit_code) override;
private:
void LogString(WORD type, DWORD event_id, const std::string& string);
@@ -101,7 +101,7 @@ void HostEventLoggerWin::OnClientRouteChange(
Log(EVENTLOG_INFORMATION_TYPE, MSG_HOST_CLIENT_ROUTING_CHANGED, strings);
}
-void HostEventLoggerWin::OnShutdown() {
+void HostEventLoggerWin::OnShutdown(HostExitCodes exit_code) {
// TODO(rmsousa): Fix host shutdown to actually call this, and add a log line.
}

Powered by Google App Engine
This is Rietveld 408576698