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

Unified Diff: lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
diff --git a/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate b/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
index b347c2f014c1ff24d7489c6384b25dd0c724bec0..43c442900a93a524e51a02a40fbd1f2cb6607e33 100644
--- a/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
+++ b/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
@@ -3,14 +3,14 @@
// BSD-style license that can be found in the LICENSE file.
class $FACTORYPROVIDER {
- factory $INTERFACE($PARAMETERS) => _create$INTERFACE($ARGUMENTS);
+ static $INTERFACE create$INTERFACE($PARAMETERS) => _create$INTERFACE($ARGUMENTS);
static $INTERFACE _create$INTERFACE($PARAMETERS) native "$NATIVE_NAME";
- factory HttpRequest.get(String url,
+ static HttpRequest createHttpRequest_get(String url,
onSuccess(HttpRequest request)) =>
_HttpRequestUtils.get(url, onSuccess, false);
- factory HttpRequest.getWithCredentials(String url,
+ static HttpRequest createHttpRequest_getWithCredentials(String url,
onSuccess(HttpRequest request)) =>
_HttpRequestUtils.get(url, onSuccess, true);
}
« no previous file with comments | « lib/html/templates/html/dartium/factoryprovider.darttemplate ('k') | lib/html/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698