Index: remoting/webapp/crd/js/server_log_entry.js |
diff --git a/remoting/webapp/crd/js/server_log_entry.js b/remoting/webapp/crd/js/server_log_entry.js |
index 00cab93871a5a41da92d66a67afec8e13e973d67..d7795c0fa5d413fa983df9eb462e02c81fcfcc59 100644 |
--- a/remoting/webapp/crd/js/server_log_entry.js |
+++ b/remoting/webapp/crd/js/server_log_entry.js |
@@ -159,6 +159,9 @@ remoting.ServerLogEntry.KEY_BROWSER_VERSION_ = 'browser-version'; |
remoting.ServerLogEntry.KEY_WEBAPP_VERSION_ = 'webapp-version'; |
/** @private */ |
+remoting.ServerLogEntry.KEY_HOST_VERSION_ = 'host-version'; |
+ |
+/** @private */ |
remoting.ServerLogEntry.VALUE_EVENT_NAME_SESSION_ID_OLD_ = 'session-id-old'; |
/** @private */ |
@@ -477,6 +480,15 @@ remoting.ServerLogEntry.prototype.addWebappVersionField = function() { |
}; |
/** |
+ * Adds a field specifying the host version to this log entry. |
+ * @param {string} hostVersion Version of the host for current session. |
+ * @return {void} Nothing. |
+ */ |
+remoting.ServerLogEntry.prototype.addHostVersion = function(hostVersion) { |
+ this.set_(remoting.ServerLogEntry.KEY_HOST_VERSION_, hostVersion); |
+}; |
+ |
+/** |
* Adds a field specifying the mode to this log entry. |
*/ |
remoting.ServerLogEntry.prototype.addModeField = function() { |