OLD | NEW |
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 {string} The OAuth2 redirect URL. | 18 * @type {string} The OAuth2 redirect URL. |
19 * @private | 19 * @private |
20 */ | 20 */ |
21 remoting.OAuth2.prototype.REDIRECT_URI_ = 'OAUTH2_REDIRECT_URL'; | 21 remoting.OAuth2.prototype.REDIRECT_URI_ = 'OAUTH2_REDIRECT_URL'; |
| 22 |
| 23 // Constants for parameters used in retrieving the OAuth2 credentials. |
| 24 /** @private */ |
| 25 remoting.OAuth2.prototype.CLIENT_ID_ = 'API_CLIENT_ID'; |
| 26 /** @private */ |
| 27 remoting.OAuth2.prototype.CLIENT_SECRET_ = 'API_CLIENT_SECRET'; |
OLD | NEW |