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

Side by Side Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « sdk/lib/typeddata/typeddata.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 } 347 }
348 348
349 Map removeLast() { 349 Map removeLast() {
350 throw new UnsupportedError("Cannot remove from immutable List."); 350 throw new UnsupportedError("Cannot remove from immutable List.");
351 } 351 }
352 352
353 void remove(Object object) { 353 void remove(Object object) {
354 throw new UnsupportedError("Cannot remove from immutable List."); 354 throw new UnsupportedError("Cannot remove from immutable List.");
355 } 355 }
356 356
357 void removeAll(Iterable elements) {
358 throw new UnsupportedError("Cannot remove from immutable List.");
359 }
360
361 void retainAll(Iterable elements) {
362 throw new UnsupportedError("Cannot remove from immutable List.");
363 }
364
365 void removeWhere(bool test(Map element)) { 357 void removeWhere(bool test(Map element)) {
366 throw new UnsupportedError("Cannot remove from immutable List."); 358 throw new UnsupportedError("Cannot remove from immutable List.");
367 } 359 }
368 360
369 void retainWhere(bool test(Map element)) { 361 void retainWhere(bool test(Map element)) {
370 throw new UnsupportedError("Cannot remove from immutable List."); 362 throw new UnsupportedError("Cannot remove from immutable List.");
371 } 363 }
372 364
373 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) { 365 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) {
374 throw new UnsupportedError("Cannot setRange on immutable List."); 366 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 // BSD-style license that can be found in the LICENSE file. 439 // BSD-style license that can be found in the LICENSE file.
448 440
449 441
450 @DocsEditable 442 @DocsEditable
451 @DomName('SQLTransactionSync') 443 @DomName('SQLTransactionSync')
452 @SupportedBrowser(SupportedBrowser.CHROME) 444 @SupportedBrowser(SupportedBrowser.CHROME)
453 @SupportedBrowser(SupportedBrowser.SAFARI) 445 @SupportedBrowser(SupportedBrowser.SAFARI)
454 @Experimental 446 @Experimental
455 abstract class _SQLTransactionSync native "*SQLTransactionSync" { 447 abstract class _SQLTransactionSync native "*SQLTransactionSync" {
456 } 448 }
OLDNEW
« no previous file with comments | « sdk/lib/typeddata/typeddata.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698