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

Side by Side Diff: remoting/webapp/plugin_settings.js

Issue 10116040: Remoting daemon process to support unofficial client ID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compile error Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/host_controller.js ('k') | no next file » | 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 /** @suppress {duplicate} */ 9 /** @suppress {duplicate} */
10 var remoting = remoting || {}; 10 var remoting = remoting || {};
11 11
12 /** 12 /**
13 * @type {string} The MIME type of the Host plugin. 13 * @type {string} The MIME type of the Host plugin.
14 */ 14 */
15 remoting.PLUGIN_MIMETYPE = 'HOST_PLUGIN_MIMETYPE'; 15 remoting.PLUGIN_MIMETYPE = 'HOST_PLUGIN_MIMETYPE';
16 16
17 /** 17 /**
18 * @type {boolean} Flag that indicates whether official client ID should
19 * be used.
20 */
21 remoting.OAuth2.prototype.USE_OFFICIAL_CLIENT_ID =
22 OAUTH2_USE_OFFICIAL_CLIENT_ID;
23
24 /**
18 * @type {string} The OAuth2 redirect URL. 25 * @type {string} The OAuth2 redirect URL.
19 * @private 26 * @private
20 */ 27 */
21 remoting.OAuth2.prototype.REDIRECT_URI_ = 'OAUTH2_REDIRECT_URL'; 28 remoting.OAuth2.prototype.REDIRECT_URI_ = 'OAUTH2_REDIRECT_URL';
22 29
23 // Constants for parameters used in retrieving the OAuth2 credentials. 30 // Constants for parameters used in retrieving the OAuth2 credentials.
24 /** @private */ 31 /** @private */
25 remoting.OAuth2.prototype.CLIENT_ID_ = 'API_CLIENT_ID'; 32 remoting.OAuth2.prototype.CLIENT_ID_ = 'API_CLIENT_ID';
26 /** @private */ 33 /** @private */
27 remoting.OAuth2.prototype.CLIENT_SECRET_ = 'API_CLIENT_SECRET'; 34 remoting.OAuth2.prototype.CLIENT_SECRET_ = 'API_CLIENT_SECRET';
OLDNEW
« no previous file with comments | « remoting/webapp/host_controller.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698