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 2b3b5acace2ffd2bb8ad0649decb8300e00f35ae..110f224608b34fb4a4df953012b3c4e3a44f4edc 100644 |
--- a/remoting/webapp/crd/js/server_log_entry.js |
+++ b/remoting/webapp/crd/js/server_log_entry.js |
@@ -178,6 +178,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. |
* |
@@ -497,6 +500,15 @@ remoting.ServerLogEntry.prototype.addModeField = function() { |
}; |
/** |
+ * Adds a field specifying the application ID to this log entry. |
+ * @return {void} Nothing. |
+ */ |
+remoting.ServerLogEntry.prototype.addApplicationId = function() { |
+ this.set_(remoting.ServerLogEntry.KEY_APP_ID_, chrome.runtime.id); |
+}; |
+ |
+ |
+/** |
* Gets the value of the mode field to be put in a log entry. |
* |
* @private |