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

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

Issue 13872007: Refactor removeRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild dom. 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 } 390 }
391 391
392 void retainWhere(bool test(Map element)) { 392 void retainWhere(bool test(Map element)) {
393 throw new UnsupportedError("Cannot remove from immutable List."); 393 throw new UnsupportedError("Cannot remove from immutable List.");
394 } 394 }
395 395
396 void setRange(int start, int end, List<Map> from, [int startFrom]) { 396 void setRange(int start, int end, List<Map> from, [int startFrom]) {
397 throw new UnsupportedError("Cannot setRange on immutable List."); 397 throw new UnsupportedError("Cannot setRange on immutable List.");
398 } 398 }
399 399
400 void removeRange(int start, int rangeLength) { 400 void removeRange(int start, int end) {
401 throw new UnsupportedError("Cannot removeRange on immutable List."); 401 throw new UnsupportedError("Cannot removeRange on immutable List.");
402 } 402 }
403 403
404 void insertRange(int start, int rangeLength, [Map initialValue]) { 404 void insertRange(int start, int rangeLength, [Map initialValue]) {
405 throw new UnsupportedError("Cannot insertRange on immutable List."); 405 throw new UnsupportedError("Cannot insertRange on immutable List.");
406 } 406 }
407 407
408 Iterable<Map> getRange(int start, int end) => 408 Iterable<Map> getRange(int start, int end) =>
409 IterableMixinWorkaround.getRangeList(this, start, end); 409 IterableMixinWorkaround.getRangeList(this, start, end);
410 410
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 475
476 @DocsEditable 476 @DocsEditable
477 @DomName('SQLTransactionSync') 477 @DomName('SQLTransactionSync')
478 @SupportedBrowser(SupportedBrowser.CHROME) 478 @SupportedBrowser(SupportedBrowser.CHROME)
479 @SupportedBrowser(SupportedBrowser.SAFARI) 479 @SupportedBrowser(SupportedBrowser.SAFARI)
480 @Experimental 480 @Experimental
481 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { 481 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 {
482 _SQLTransactionSync.internal(); 482 _SQLTransactionSync.internal();
483 483
484 } 484 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698