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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_type.js

Issue 693843002: Add support for My Maps maps in Chrome OS Drive integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a comment about gmap/gmaps. Created 6 years, 2 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: ui/file_manager/file_manager/foreground/js/file_type.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_type.js b/ui/file_manager/file_manager/foreground/js/file_type.js
index b795728e469bd1810695550625226bf567f001a2..017a14b3e7e43cec46d3d50e8c87cf9a4ac92406 100644
--- a/ui/file_manager/file_manager/foreground/js/file_type.js
+++ b/ui/file_manager/file_manager/foreground/js/file_type.js
@@ -155,6 +155,12 @@ FileType.types = [
type: 'hosted', icon: 'gform', name: 'GFORM_DOCUMENT_FILE_TYPE',
subtype: 'form', pattern: /\.gform$/i
},
+ {
+ // We use extension ".gmaps" to avoid conflict, but use singular form
+ // (gmap/map) in other parts to be consistent with other file type.
+ type: 'hosted', icon: 'gmap', name: 'GMAP_DOCUMENT_FILE_TYPE',
+ subtype: 'map', pattern: /\.gmaps$/i
+ },
// Others
{
« no previous file with comments | « ui/file_manager/file_manager/foreground/css/file_types.css ('k') | ui/file_manager/file_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698