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

Side by Side Diff: sdk/lib/web_sql/dartium/web_sql_dartium.dart

Issue 13863012: Refactor List.setRange function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle optional arguments in secure_socket.dart Created 7 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 /** 1 /**
2 * An API for storing data in the browser that can be queried with SQL. 2 * An API for storing data in the browser that can be queried with SQL.
3 * 3 *
4 * **Caution:** this specification is no longer actively maintained by the Web 4 * **Caution:** this specification is no longer actively maintained by the Web
5 * Applications Working Group and may be removed at any time. 5 * Applications Working Group and may be removed at any time.
6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /) 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /)
7 * for more information. 7 * for more information.
8 * 8 *
9 * The [dart:indexed_db] APIs is a recommended alternatives. 9 * The [dart:indexed_db] APIs is a recommended alternatives.
10 */ 10 */
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 } 373 }
374 374
375 void removeWhere(bool test(Map element)) { 375 void removeWhere(bool test(Map element)) {
376 throw new UnsupportedError("Cannot remove from immutable List."); 376 throw new UnsupportedError("Cannot remove from immutable List.");
377 } 377 }
378 378
379 void retainWhere(bool test(Map element)) { 379 void retainWhere(bool test(Map element)) {
380 throw new UnsupportedError("Cannot remove from immutable List."); 380 throw new UnsupportedError("Cannot remove from immutable List.");
381 } 381 }
382 382
383 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) { 383 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount]) {
384 throw new UnsupportedError("Cannot setRange on immutable List."); 384 throw new UnsupportedError("Cannot setRange on immutable List.");
385 } 385 }
386 386
387 void removeRange(int start, int rangeLength) { 387 void removeRange(int start, int rangeLength) {
388 throw new UnsupportedError("Cannot removeRange on immutable List."); 388 throw new UnsupportedError("Cannot removeRange on immutable List.");
389 } 389 }
390 390
391 void insertRange(int start, int rangeLength, [Map initialValue]) { 391 void insertRange(int start, int rangeLength, [Map initialValue]) {
392 throw new UnsupportedError("Cannot insertRange on immutable List."); 392 throw new UnsupportedError("Cannot insertRange on immutable List.");
393 } 393 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 462
463 @DocsEditable 463 @DocsEditable
464 @DomName('SQLTransactionSync') 464 @DomName('SQLTransactionSync')
465 @SupportedBrowser(SupportedBrowser.CHROME) 465 @SupportedBrowser(SupportedBrowser.CHROME)
466 @SupportedBrowser(SupportedBrowser.SAFARI) 466 @SupportedBrowser(SupportedBrowser.SAFARI)
467 @Experimental 467 @Experimental
468 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { 468 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 {
469 _SQLTransactionSync.internal(); 469 _SQLTransactionSync.internal();
470 470
471 } 471 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698