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

Unified Diff: remoting/host/host_event_logger_win.cc

Issue 10893009: Log when the host is started for an account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on Windows code Created 8 years, 4 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 85f31d26c1d01c8168d17dd46cb134eaa6a984b9..84bff75ff66f85914e6f4a13824b58d210c0b8d2 100644
--- a/remoting/host/host_event_logger_win.cc
+++ b/remoting/host/host_event_logger_win.cc
@@ -40,6 +40,9 @@ class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver {
const protocol::TransportRoute& route) OVERRIDE;
virtual void OnShutdown() OVERRIDE;
+ //HostEventLogger implementation.
alexeypa (please no reviews) 2012/08/29 15:15:48 nit: space in front of HostEventLogger
rmsousa 2012/08/29 19:24:40 Done.
+ virtual void OnStart(const std::string& xmpp_login) OVERRIDE;
+
private:
void LogString(WORD type, DWORD event_id, const std::string& string);
void Log(WORD type, DWORD event_id, const std::vector<std::string>& strings);
@@ -103,6 +106,10 @@ void HostEventLoggerWin::OnClientRouteChange(
void HostEventLoggerWin::OnShutdown() {
}
+void HostEventLoggerWin::OnStart(const std::string& xmpp_login) {
+ LogString(EVENTLOG_INFORMATION_TYPE, MSG_HOST_STARTED, xmpp_login);
+}
+
void HostEventLoggerWin::Log(WORD type,
DWORD event_id,
const std::vector<std::string>& strings) {

Powered by Google App Engine
This is Rietveld 408576698