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

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

Issue 1763753002: Revert "Changes to tests and status file for the 45 roll w/ regenderated sdk/libs" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/co19/co19-dartium.status » ('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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 } 364 }
365 if (len == 0) throw new StateError("No elements"); 365 if (len == 0) throw new StateError("No elements");
366 throw new StateError("More than one element"); 366 throw new StateError("More than one element");
367 } 367 }
368 368
369 Map elementAt(int index) => this[index]; 369 Map elementAt(int index) => this[index];
370 // -- end List<Map> mixins. 370 // -- end List<Map> mixins.
371 371
372 @DomName('SQLResultSetRowList.item') 372 @DomName('SQLResultSetRowList.item')
373 @DocsEditable() 373 @DocsEditable()
374 Object item(int index) => wrap_jso(_blink.BlinkSQLResultSetRowList.instance.it em_Callback_1_(unwrap_jso(this), index)); 374 Map item(int index) => wrap_jso(_blink.BlinkSQLResultSetRowList.instance.item_ Callback_1_(unwrap_jso(this), index));
375 375
376 } 376 }
377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
378 // for details. All rights reserved. Use of this source code is governed by a 378 // for details. All rights reserved. Use of this source code is governed by a
379 // BSD-style license that can be found in the LICENSE file. 379 // BSD-style license that can be found in the LICENSE file.
380 380
381 // WARNING: Do not edit - generated code. 381 // WARNING: Do not edit - generated code.
382 382
383 383
384 @DocsEditable() 384 @DocsEditable()
(...skipping 15 matching lines...) Expand all
400 factory SqlTransaction._internalWrap() { 400 factory SqlTransaction._internalWrap() {
401 return new SqlTransaction.internal_(); 401 return new SqlTransaction.internal_();
402 } 402 }
403 403
404 @Deprecated("Internal Use Only") 404 @Deprecated("Internal Use Only")
405 SqlTransaction.internal_() { } 405 SqlTransaction.internal_() { }
406 406
407 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other); 407 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
408 int get hashCode => unwrap_jso(this).hashCode; 408 int get hashCode => unwrap_jso(this).hashCode;
409 409
410 void executeSql(String sqlStatement, [List arguments, SqlStatementCallback cal lback, SqlStatementErrorCallback errorCallback]) { 410 @DomName('SQLTransaction.executeSql')
411 if (errorCallback != null) { 411 @DocsEditable()
412 _blink.BlinkSQLTransaction.instance.executeSql_Callback_4_(unwrap_jso(this ), sqlStatement, arguments, unwrap_jso((transaction, resultSet) => callback(wrap _jso(transaction), wrap_jso(resultSet))), unwrap_jso((transaction, error) => err orCallback(wrap_jso(transaction), wrap_jso(error)))); 412 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall back callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTrans action.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, unwrap_js o(arguments), unwrap_jso((transaction, resultSet) => callback(wrap_jso(transacti on), wrap_jso(resultSet))), unwrap_jso((transaction, error) => errorCallback(wra p_jso(transaction), wrap_jso(error))));
413 return; 413
414 }
415 if (callback != null) {
416 _blink.BlinkSQLTransaction.instance.executeSql_Callback_3_(unwrap_jso(this ), sqlStatement, arguments, unwrap_jso((transaction, resultSet) => callback(wrap _jso(transaction), wrap_jso(resultSet))));
417 return;
418 }
419 if (arguments != null) {
420 _blink.BlinkSQLTransaction.instance.executeSql_Callback_2_(unwrap_jso(this ), sqlStatement, arguments);
421 return;
422 }
423 _blink.BlinkSQLTransaction.instance.executeSql_Callback_1_(unwrap_jso(this), sqlStatement);
424 return;
425 }
426
427 } 414 }
OLDNEW
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/co19/co19-dartium.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698