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

Unified Diff: chrome/browser/resources/media_common.js

Issue 2897015: Clean up browser_resources.grd:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 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
« no previous file with comments | « chrome/browser/resources/incognito_tab.html ('k') | chrome/browser/resources/mediaplayer.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/media_common.js
===================================================================
--- chrome/browser/resources/media_common.js (revision 52142)
+++ chrome/browser/resources/media_common.js (working copy)
@@ -1,19 +0,0 @@
-// Copyright (c) 2010 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.
-
-function pathIsVideoFile(path) {
- return /\.(mp4|ogg|mpg|avi|mov)$/i.test(path);
-}
-
-function pathIsAudioFile(path) {
- return /\.(mp3|m4a|wav)$/i.test(path);
-}
-
-function pathIsImageFile(path) {
- return /\.(jpg|png|gif)$/i.test(path);
-}
-
-function pathIsHtmlFile(path) {
- return /\.(htm|html|txt)$/i.test(path);
-}
« no previous file with comments | « chrome/browser/resources/incognito_tab.html ('k') | chrome/browser/resources/mediaplayer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698