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

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

Issue 2805853002: Compile suggest_app_dialog in gyp v2 (Closed)
Patch Set: Fix unit test. Created 3 years, 8 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/constants.js
diff --git a/ui/file_manager/file_manager/foreground/js/constants.js b/ui/file_manager/file_manager/foreground/js/constants.js
new file mode 100644
index 0000000000000000000000000000000000000000..cec18d1b3cbeeeb09579e182e35ea71ec80ff429
--- /dev/null
+++ b/ui/file_manager/file_manager/foreground/js/constants.js
@@ -0,0 +1,24 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * Namespace for common constnats used in Files app.
+ * @namespace
+ */
+var constants = {};
+
+/**
+ * The list of executable file extensions.
+ *
+ * @const
+ * @type {Array<string>}
+ */
+constants.EXECUTABLE_EXTENSIONS = Object.freeze([
+ '.exe',
+ '.lnk',
+ '.deb',
+ '.dmg',
+ '.jar',
+ '.msi',
+]);

Powered by Google App Engine
This is Rietveld 408576698