Index: remoting/webapp/base/js/plugin_settings.js |
diff --git a/remoting/webapp/base/js/plugin_settings.js b/remoting/webapp/base/js/plugin_settings.js |
index e57acca4ff2efd18e82bd92835926785e6ea9b93..a4b56d2dc0a48a8ba413b4b49e6c8fca3459f62a 100644 |
--- a/remoting/webapp/base/js/plugin_settings.js |
+++ b/remoting/webapp/base/js/plugin_settings.js |
@@ -49,6 +49,18 @@ |
remoting.Settings.prototype.APP_REMOTING_API_BASE_URL = |
'APP_REMOTING_API_BASE_URL'; |
+/** |
+ * Return this app's Application ID. |
+ * |
+ * This is a function rather than a constant because the build script may |
+ * replace this string with code to calculate the app id dynamically. |
+ * |
+ * @return {string} The Application ID. |
+ */ |
+remoting.Settings.prototype.getAppRemotingApplicationId = function() { |
+ return 'APP_REMOTING_APPLICATION_ID'; |
+}; |
+ |
/** @type {string} XMPP JID for the remoting directory server bot. */ |
remoting.Settings.prototype.DIRECTORY_BOT_JID = 'DIRECTORY_BOT_JID'; |