Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: remoting/webapp/base/js/plugin_settings.js

Issue 1191883002: Revert of [AppRemoting] Break out AppRemoting shared module (re-land). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/base/js/message_window_helper.js ('k') | remoting/webapp/build-webapp.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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';
« no previous file with comments | « remoting/webapp/base/js/message_window_helper.js ('k') | remoting/webapp/build-webapp.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698