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

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

Issue 11308130: Rename onSuccess to onComplete in HttpRequest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
index 0e0a02dca606e229dbad2b79ca28f61b7c82d9fd..213f434afbfc949a3d5583387a4ed07f9e5603d4 100644
--- a/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate
@@ -5,11 +5,13 @@
part of html;
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- factory $CLASSNAME.get(String url, onSuccess($CLASSNAME request)) =>
- _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onSuccess);
+ factory $CLASSNAME.get(String url, onComplete($CLASSNAME request)) =>
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onComplete);
- factory $CLASSNAME.getWithCredentials(String url, onSuccess($CLASSNAME request)) =>
- _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_getWithCredentials(url, onSuccess);
+ factory $CLASSNAME.getWithCredentials(String url,
+ onComplete($CLASSNAME request)) =>
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_getWithCredentials(url,
+ onComplete);
$!MEMBERS
}

Powered by Google App Engine
This is Rietveld 408576698