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

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

Issue 14425003: Make List.remove return boolean. (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/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/corelib/list_test.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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 } 362 }
363 363
364 Map removeAt(int pos) { 364 Map removeAt(int pos) {
365 throw new UnsupportedError("Cannot remove from immutable List."); 365 throw new UnsupportedError("Cannot remove from immutable List.");
366 } 366 }
367 367
368 Map removeLast() { 368 Map removeLast() {
369 throw new UnsupportedError("Cannot remove from immutable List."); 369 throw new UnsupportedError("Cannot remove from immutable List.");
370 } 370 }
371 371
372 void remove(Object object) { 372 bool remove(Object object) {
373 throw new UnsupportedError("Cannot remove from immutable List."); 373 throw new UnsupportedError("Cannot remove from immutable List.");
374 } 374 }
375 375
376 void removeWhere(bool test(Map element)) { 376 void removeWhere(bool test(Map element)) {
377 throw new UnsupportedError("Cannot remove from immutable List."); 377 throw new UnsupportedError("Cannot remove from immutable List.");
378 } 378 }
379 379
380 void retainWhere(bool test(Map element)) { 380 void retainWhere(bool test(Map element)) {
381 throw new UnsupportedError("Cannot remove from immutable List."); 381 throw new UnsupportedError("Cannot remove from immutable List.");
382 } 382 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 451
452 @DocsEditable 452 @DocsEditable
453 @DomName('SQLTransactionSync') 453 @DomName('SQLTransactionSync')
454 @SupportedBrowser(SupportedBrowser.CHROME) 454 @SupportedBrowser(SupportedBrowser.CHROME)
455 @SupportedBrowser(SupportedBrowser.SAFARI) 455 @SupportedBrowser(SupportedBrowser.SAFARI)
456 @Experimental 456 @Experimental
457 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { 457 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 {
458 _SQLTransactionSync.internal(); 458 _SQLTransactionSync.internal();
459 459
460 } 460 }
OLDNEW
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/corelib/list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698