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

Side by Side Diff: pkg/mime/lib/src/default_extension_map.dart

Issue 292983002: Clean up mime package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/mime/lib/src/magic_number.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library mime.extension_map; 5 library mime.extension_map;
6 6
7 // TODO(ajohnsen): Use sorted list and binary search? 7 // TODO(ajohnsen): Use sorted list and binary search?
8 const Map<String, String> DEFAULT_EXTENSION_MAP = const <String, String>{ 8 final Map<String, String> defaultExtensionMap = <String, String>{
kevmoo 2014/05/20 18:55:05 I'd put a note here about not using const map w/ a
Anders Johnsen 2014/05/23 07:07:06 Done.
9 '123':'application/vnd.lotus-1-2-3', 9 '123':'application/vnd.lotus-1-2-3',
10 '3dml':'text/vnd.in3d.3dml', 10 '3dml':'text/vnd.in3d.3dml',
11 '3ds':'image/x-3ds', 11 '3ds':'image/x-3ds',
12 '3g2':'video/3gpp2', 12 '3g2':'video/3gpp2',
13 '3gp':'video/3gpp', 13 '3gp':'video/3gpp',
14 '7z':'application/x-7z-compressed', 14 '7z':'application/x-7z-compressed',
15 'aab':'application/x-authorware-bin', 15 'aab':'application/x-authorware-bin',
16 'aac':'audio/x-aac', 16 'aac':'audio/x-aac',
17 'aam':'application/x-authorware-map', 17 'aam':'application/x-authorware-map',
18 'aas':'application/x-authorware-seg', 18 'aas':'application/x-authorware-seg',
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 'z5':'application/x-zmachine', 981 'z5':'application/x-zmachine',
982 'z6':'application/x-zmachine', 982 'z6':'application/x-zmachine',
983 'z7':'application/x-zmachine', 983 'z7':'application/x-zmachine',
984 'z8':'application/x-zmachine', 984 'z8':'application/x-zmachine',
985 'zaz':'application/vnd.zzazz.deck+xml', 985 'zaz':'application/vnd.zzazz.deck+xml',
986 'zip':'application/zip', 986 'zip':'application/zip',
987 'zir':'application/vnd.zul', 987 'zir':'application/vnd.zul',
988 'zirz':'application/vnd.zul', 988 'zirz':'application/vnd.zul',
989 'zmm':'application/vnd.handheld-entertainment+xml', 989 'zmm':'application/vnd.handheld-entertainment+xml',
990 }; 990 };
OLDNEW
« no previous file with comments | « no previous file | pkg/mime/lib/src/magic_number.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698