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

Unified Diff: pkg/http_server/lib/src/http_multipart_form_data.dart

Issue 756493002: pkg/http_server: move to multi-lib layout (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: readme fixup Created 6 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: pkg/http_server/lib/src/http_multipart_form_data.dart
diff --git a/pkg/http_server/lib/src/http_multipart_form_data.dart b/pkg/http_server/lib/src/http_multipart_form_data.dart
index eae575bda177dd67b3eb827cdea03f134c1fbba3..ec98d75af0a9f9aa62d3347a3f567f485a20a082 100644
--- a/pkg/http_server/lib/src/http_multipart_form_data.dart
+++ b/pkg/http_server/lib/src/http_multipart_form_data.dart
@@ -2,8 +2,15 @@
// 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.
-part of http_server;
+library http_server.http_multipart_form_data;
+import 'dart:async';
+import 'dart:convert';
+import 'dart:io';
+
+import 'package:mime/mime.dart';
+
+import 'http_multipart_form_data_impl.dart';
/**
* [:HttpMultipartFormData:] class used for 'upgrading' a [MimeMultipart] by
@@ -76,5 +83,5 @@ abstract class HttpMultipartFormData implements Stream {
*/
static HttpMultipartFormData parse(MimeMultipart multipart,
{Encoding defaultEncoding: UTF8})
- => _HttpMultipartFormData.parse(multipart, defaultEncoding);
+ => HttpMultipartFormDataImpl.parse(multipart, defaultEncoding);
}
« no previous file with comments | « pkg/http_server/lib/src/http_multi_server.dart ('k') | pkg/http_server/lib/src/http_multipart_form_data_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698