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

Unified Diff: remoting/webapp/me2mom/xhr.js

Issue 8273024: Implemented cancel connect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed indentation. Created 9 years, 2 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
« remoting/webapp/me2mom/remoting.js ('K') | « remoting/webapp/me2mom/remoting.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/xhr.js
diff --git a/remoting/webapp/me2mom/xhr.js b/remoting/webapp/me2mom/xhr.js
index 9c8674a09229968508a10b6eb3c6a8918f6fc639..0353bb00bb4d99f7c90f9902a960fe412fdd3211 100644
--- a/remoting/webapp/me2mom/xhr.js
+++ b/remoting/webapp/me2mom/xhr.js
@@ -48,7 +48,7 @@ remoting.xhr.urlencodeParamHash = function(paramHash) {
* request.
* @param {boolean} opt_withCredentials Set the withCredentials flags in the
* XHR.
- * @return {void} Nothing.
+ * @return {XMLHttpRequest} The request object.
*/
remoting.xhr.get = function(url, onDone, opt_parameters, opt_headers,
opt_withCredentials) {
@@ -94,6 +94,7 @@ remoting.xhr.get = function(url, onDone, opt_parameters, opt_headers,
}
xhr.send(null);
+ return xhr;
}
/**
« remoting/webapp/me2mom/remoting.js ('K') | « remoting/webapp/me2mom/remoting.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698