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

Side by Side Diff: tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate

Issue 254463006: This CL contains all of the changes for splitting off all of the native (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 $!TOPLEVEL
8
7 /** 9 /**
8 * A client-side XHR request for getting data from a URL, 10 * A client-side XHR request for getting data from a URL,
9 * formally known as XMLHttpRequest. 11 * formally known as XMLHttpRequest.
10 * 12 *
11 * HttpRequest can be used to obtain data from HTTP and FTP protocols, 13 * HttpRequest can be used to obtain data from HTTP and FTP protocols,
12 * and is useful for AJAX-style page updates. 14 * and is useful for AJAX-style page updates.
13 * 15 *
14 * The simplest way to get the contents of a text file, such as a 16 * The simplest way to get the contents of a text file, such as a
15 * JSON-formatted file, is with [getString]. 17 * JSON-formatted file, is with [getString].
16 * For example, the following code gets the contents of a JSON file 18 * For example, the following code gets the contents of a JSON file
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 headers[key] = '${headers[key]}, $value'; 367 headers[key] = '${headers[key]}, $value';
366 } else { 368 } else {
367 headers[key] = value; 369 headers[key] = value;
368 } 370 }
369 } 371 }
370 return headers; 372 return headers;
371 } 373 }
372 374
373 $!MEMBERS 375 $!MEMBERS
374 } 376 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698