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

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

Issue 10837106: [Chromoting] Use different talkgadget prefixes for client and oauth. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/build-webapp.py ('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 5
6 /** 6 /**
7 * @fileoverview 7 * @fileoverview
8 * A class that loads a WCS IQ client and constructs remoting.wcs as a 8 * A class that loads a WCS IQ client and constructs remoting.wcs as a
9 * wrapper for it. 9 * wrapper for it.
10 */ 10 */
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 }; 49 };
50 remoting.oauth2.callWithToken(start, onError); 50 remoting.oauth2.callWithToken(start, onError);
51 }; 51 };
52 52
53 /** 53 /**
54 * The URL of the GTalk gadget. 54 * The URL of the GTalk gadget.
55 * @type {string} 55 * @type {string}
56 * @private 56 * @private
57 */ 57 */
58 remoting.WcsLoader.prototype.TALK_GADGET_URL_ = 58 remoting.WcsLoader.prototype.TALK_GADGET_URL_ =
59 'https://chromoting.talkgadget.google.com/talkgadget/'; 59 'https://chromoting-client.talkgadget.google.com/talkgadget/';
60 60
61 /** 61 /**
62 * The id of the script node. 62 * The id of the script node.
63 * @type {string} 63 * @type {string}
64 * @private 64 * @private
65 */ 65 */
66 remoting.WcsLoader.prototype.SCRIPT_NODE_ID_ = 'wcs-script-node'; 66 remoting.WcsLoader.prototype.SCRIPT_NODE_ID_ = 'wcs-script-node';
67 67
68 /** 68 /**
69 * The attribute name indicating that the WCS has finished loading. 69 * The attribute name indicating that the WCS has finished loading.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 * an OAuth2 access token when WCS has been loaded. 129 * an OAuth2 access token when WCS has been loaded.
130 * @return {void} Nothing. 130 * @return {void} Nothing.
131 * @private 131 * @private
132 */ 132 */
133 remoting.WcsLoader.prototype.constructWcs_ = function(token, onReady) { 133 remoting.WcsLoader.prototype.constructWcs_ = function(token, onReady) {
134 remoting.wcs = new remoting.Wcs( 134 remoting.wcs = new remoting.Wcs(
135 remoting.wcsLoader.wcsIqClient, 135 remoting.wcsLoader.wcsIqClient,
136 token, 136 token,
137 function() { onReady(token); }); 137 function() { onReady(token); });
138 }; 138 };
OLDNEW
« no previous file with comments | « remoting/webapp/build-webapp.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698