| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| class $FACTORYPROVIDER { |
| static $INTERFACE create$INTERFACE($PARAMETERS) => _create$INTERFACE($ARGUMENTS); |
| static $INTERFACE _create$INTERFACE($PARAMETERS) native "$NATIVE_NAME"; |
| |
| static HttpRequest createHttpRequest_get(String url, |
| onSuccess(HttpRequest request)) => |
| _HttpRequestUtils.get(url, onSuccess, false); |
| |
| static HttpRequest createHttpRequest_getWithCredentials(String url, |
| onSuccess(HttpRequest request)) => |
| _HttpRequestUtils.get(url, onSuccess, true); |
| } |