Index: remoting/webapp/base/js/session_logger.js |
diff --git a/remoting/webapp/base/js/session_logger.js b/remoting/webapp/base/js/session_logger.js |
index 5e04be83954829a6972d929026f84d727c58456c..be7c6dc8d001e7762d023c75e5bbfa9340af2154 100644 |
--- a/remoting/webapp/base/js/session_logger.js |
+++ b/remoting/webapp/base/js/session_logger.js |
@@ -51,6 +51,8 @@ remoting.SessionLogger = function(role, writeLogEntry) { |
this.hostStatusUpdateElapsedTime_; |
/** @private */ |
this.mode_ = remoting.ChromotingEvent.Mode.ME2ME; |
+ /** @private {remoting.ChromotingEvent.AuthMethod} */ |
+ this.authMethod_; |
this.setSessionId_(); |
}; |
@@ -99,6 +101,11 @@ remoting.SessionLogger.prototype.setLogEntryMode = function(mode) { |
}; |
/** @override {remoting.Logger} */ |
+remoting.SessionLogger.prototype.setAuthMethod = function(authMethod) { |
+ this.authMethod_ = authMethod; |
+}; |
+ |
+/** @override {remoting.Logger} */ |
remoting.SessionLogger.prototype.getSessionId = function() { |
return this.sessionId_; |
}; |
@@ -260,6 +267,9 @@ remoting.SessionLogger.prototype.fillEvent_ = function(entry) { |
if (this.hostStatusUpdateElapsedTime_ != undefined) { |
entry.host_status_update_elapsed_time = this.hostStatusUpdateElapsedTime_; |
} |
+ if (this.authMethod_ != undefined) { |
+ entry.auth_method = this.authMethod_; |
+ } |
entry.host_version = this.hostVersion_; |
entry.host_os = this.hostOS_; |
entry.host_os_version = this.hostOSVersion_; |