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..eeb7948b9b2567f55913d920d08eff6529544506 100644 |
--- a/remoting/webapp/crd/js/server_log_entry.js |
+++ b/remoting/webapp/crd/js/server_log_entry.js |
@@ -175,6 +175,9 @@ remoting.ServerLogEntry.VALUE_MODE_APP_REMOTING_ = 'lgapp'; |
/** @private */ |
remoting.ServerLogEntry.VALUE_MODE_UNKNOWN_ = 'unknown'; |
+/** @private */ |
+remoting.ServerLogEntry.KEY_APP_ID_ = 'application-id'; |
+ |
/** |
* Sets one field in this log entry. |
* |
@@ -485,6 +488,16 @@ remoting.ServerLogEntry.prototype.addModeField = function() { |
}; |
/** |
+ * Adds a field specifying the application ID to this log entry. |
+ * @param {string} appId The application ID to use. |
+ * @return {void} Nothin. |
+ */ |
+remoting.ServerLogEntry.prototype.addApplicationId = function(appId) { |
+ this.set_(remoting.ServerLogEntry.KEY_APP_ID_, appId); |
+}; |
+ |
+ |
+/** |
* Gets the value of the mode field to be put in a log entry. |
* |
* @private |