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

Unified Diff: sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing merged classes in dartium not compiling under dartc. Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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
+}

Powered by Google App Engine
This is Rietveld 408576698