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

Unified Diff: pkg/mime/lib/src/default_extension_map.dart

Issue 272353002: pkg/mime: layout as mini-libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: cl nits, other fixes Created 6 years, 7 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: pkg/mime/lib/src/default_extension_map.dart
diff --git a/pkg/mime/lib/src/extension_map.dart b/pkg/mime/lib/src/default_extension_map.dart
similarity index 99%
rename from pkg/mime/lib/src/extension_map.dart
rename to pkg/mime/lib/src/default_extension_map.dart
index 745556b540b0954e799295609549877575a9dd10..7e74648d3f6a062e5c130a34382887747ea1710b 100644
--- a/pkg/mime/lib/src/extension_map.dart
+++ b/pkg/mime/lib/src/default_extension_map.dart
@@ -2,11 +2,10 @@
// 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 mime;
-
+library mime.extension_map;
// TODO(ajohnsen): Use sorted list and binary search?
-const Map<String, String> _DEFAULT_EXTENSION_MAP = const <String, String>{
+const Map<String, String> DEFAULT_EXTENSION_MAP = const <String, String>{
Anders Johnsen 2014/05/13 09:16:22 Please un-const this. Const maps are really slow f
kevmoo 2014/05/13 17:48:39 Are they different than a normal LinkedHashMap? I
Anders Johnsen 2014/05/14 07:36:07 Please don't commit while there are comments. Con
'123':'application/vnd.lotus-1-2-3',
'3dml':'text/vnd.in3d.3dml',
'3ds':'image/x-3ds',

Powered by Google App Engine
This is Rietveld 408576698