Index: sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate b/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cfc265e7da140c5581a8d398603f6ad1acfcdca8 |
--- /dev/null |
+++ b/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate |
@@ -0,0 +1,13 @@ |
+// 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 $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
+ factory $CLASSNAME.get(String url, onSuccess($CLASSNAME request)) => |
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onSuccess); |
+ |
+ factory $CLASSNAME.getWithCredentials(String url, onSuccess($CLASSNAME request)) => |
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)getWithCredentials(url, onSuccess); |
+ |
+$!MEMBERS |
+} |