| Index: chrome/browser/resources/shared/js/media_common.js
|
| diff --git a/chrome/browser/resources/shared/js/media_common.js b/chrome/browser/resources/shared/js/media_common.js
|
| index 85288093a49e3cf49b553fe46833c48a90f94663..86b48c87c297a7105059217ed4df2ff56554e8f2 100644
|
| --- a/chrome/browser/resources/shared/js/media_common.js
|
| +++ b/chrome/browser/resources/shared/js/media_common.js
|
| @@ -17,3 +17,7 @@ function pathIsImageFile(path) {
|
| function pathIsHtmlFile(path) {
|
| return /\.(htm|html|txt)$/i.test(path);
|
| }
|
| +
|
| +function pathIsPdfFile(path) {
|
| + return /\.(pdf)$/i.test(path);
|
| +}
|
|
|