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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Contains all the settings that may need massaging by the build script. 5 // Contains all the settings that may need massaging by the build script.
6 // Keeping all that centralized here allows us to use symlinks for the other 6 // Keeping all that centralized here allows us to use symlinks for the other
7 // files making for a faster compile/run cycle when only modifying HTML/JS. 7 // files making for a faster compile/run cycle when only modifying HTML/JS.
8 8
9 'use strict'; 9 'use strict';
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 * no access to these APIs, we can't call it at global scope. 42 * no access to these APIs, we can't call it at global scope.
43 */ 43 */
44 remoting.Settings.prototype.OAUTH2_REDIRECT_URL = function() { 44 remoting.Settings.prototype.OAUTH2_REDIRECT_URL = function() {
45 return 'OAUTH2_REDIRECT_URL'; 45 return 'OAUTH2_REDIRECT_URL';
46 }; 46 };
47 47
48 /** @type {string} Base URL for the App Remoting API. */ 48 /** @type {string} Base URL for the App Remoting API. */
49 remoting.Settings.prototype.APP_REMOTING_API_BASE_URL = 49 remoting.Settings.prototype.APP_REMOTING_API_BASE_URL =
50 'APP_REMOTING_API_BASE_URL'; 50 'APP_REMOTING_API_BASE_URL';
51 51
52 /**
53 * Return this app's Application ID.
54 *
55 * This is a function rather than a constant because the build script may
56 * replace this string with code to calculate the app id dynamically.
57 *
58 * @return {string} The Application ID.
59 */
60 remoting.Settings.prototype.getAppRemotingApplicationId = function() {
61 return 'APP_REMOTING_APPLICATION_ID';
62 };
63
52 /** @type {string} XMPP JID for the remoting directory server bot. */ 64 /** @type {string} XMPP JID for the remoting directory server bot. */
53 remoting.Settings.prototype.DIRECTORY_BOT_JID = 'DIRECTORY_BOT_JID'; 65 remoting.Settings.prototype.DIRECTORY_BOT_JID = 'DIRECTORY_BOT_JID';
54 66
55 // XMPP server connection settings. 67 // XMPP server connection settings.
56 /** @type {string} XMPP server name and port. */ 68 /** @type {string} XMPP server name and port. */
57 remoting.Settings.prototype.XMPP_SERVER = 'XMPP_SERVER'; 69 remoting.Settings.prototype.XMPP_SERVER = 'XMPP_SERVER';
58 /** @type {boolean} Whether to use TLS on connections to the XMPP server. */ 70 /** @type {boolean} Whether to use TLS on connections to the XMPP server. */
59 remoting.Settings.prototype.XMPP_SERVER_USE_TLS = 71 remoting.Settings.prototype.XMPP_SERVER_USE_TLS =
60 !!'XMPP_SERVER_USE_TLS'; 72 !!'XMPP_SERVER_USE_TLS';
61 73
62 // Third party authentication settings. 74 // Third party authentication settings.
63 /** @type {string} The third party auth redirect URI. */ 75 /** @type {string} The third party auth redirect URI. */
64 remoting.Settings.prototype.THIRD_PARTY_AUTH_REDIRECT_URI = 76 remoting.Settings.prototype.THIRD_PARTY_AUTH_REDIRECT_URI =
65 'THIRD_PARTY_AUTH_REDIRECT_URL'; 77 'THIRD_PARTY_AUTH_REDIRECT_URL';
66 78
67 // 'native', 'nacl' or 'pnacl'. 79 // 'native', 'nacl' or 'pnacl'.
68 remoting.Settings.prototype.CLIENT_PLUGIN_TYPE = 'CLIENT_PLUGIN_TYPE'; 80 remoting.Settings.prototype.CLIENT_PLUGIN_TYPE = 'CLIENT_PLUGIN_TYPE';
69 81
70 /** @const {boolean} If true, use GCD instead of Chromoting registry. */ 82 /** @const {boolean} If true, use GCD instead of Chromoting registry. */
71 remoting.Settings.prototype.USE_GCD = !!'USE_GCD'; 83 remoting.Settings.prototype.USE_GCD = !!'USE_GCD';
OLDNEW
« 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