Chromium Code Reviews| 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', |