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

Unified Diff: samples/chat/http.dart

Issue 9016026: Moves over remaining .dart code references to 'factory' in interface declartions to 'default' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
« no previous file with comments | « samples/belay/bcap/src/BcapTunnel.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/chat/http.dart
diff --git a/samples/chat/http.dart b/samples/chat/http.dart
index 60f0477895d7057a3127c623aefa20c2a6b56605..bdd803a1f1e9bc2ed4fc1cb0527e69d6893bb39f 100644
--- a/samples/chat/http.dart
+++ b/samples/chat/http.dart
@@ -56,7 +56,7 @@ interface HTTPStatus {
/**
* HTTP server.
*/
-interface HTTPServer factory HTTPServerImplementation {
+interface HTTPServer default HTTPServerImplementation {
HTTPServer();
/**
@@ -86,7 +86,7 @@ interface HTTPServer factory HTTPServerImplementation {
/**
* HTTP request delivered to the HTTP server callback.
*/
-interface HTTPRequest factory HTTPRequestImplementation {
+interface HTTPRequest default HTTPRequestImplementation {
/**
* Returns the content length of the request body. If the size of
* the request body is not known in advance this -1.
@@ -149,7 +149,7 @@ interface HTTPRequest factory HTTPRequestImplementation {
/**
* HTTP response to be send back to the client.
*/
-interface HTTPResponse factory HTTPResponseImplementation {
+interface HTTPResponse default HTTPResponseImplementation {
/**
* Gets and sets the content length of the response. If the size of
* the response is not known in advance set the content length to
@@ -204,7 +204,7 @@ interface HTTPResponse factory HTTPResponseImplementation {
/**
* HTTP client factory.
*/
-interface HTTPClient factory HTTPClientImplementation {
+interface HTTPClient default HTTPClientImplementation {
HTTPClient();
/**
@@ -229,7 +229,7 @@ interface HTTPClient factory HTTPClientImplementation {
/**
* HTTP request for a client connection.
*/
-interface HTTPClientRequest factory HTTPClientRequestImplementation {
+interface HTTPClientRequest default HTTPClientRequestImplementation {
/**
* Gets and sets the content length of the request. If the size of
* the request is not known in advance set content length to -1,
@@ -293,7 +293,7 @@ interface HTTPClientRequest factory HTTPClientRequestImplementation {
/**
* HTTP response for a client connection.
*/
-interface HTTPClientResponse factory HTTPClientResponseImplementation {
+interface HTTPClientResponse default HTTPClientResponseImplementation {
/**
* Returns the status code.
*/
« no previous file with comments | « samples/belay/bcap/src/BcapTunnel.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698