Chromium Code Reviews| Index: chrome/browser/ui/webui/chrome_web_ui_data_source.cc |
| =================================================================== |
| --- chrome/browser/ui/webui/chrome_web_ui_data_source.cc (revision 95437) |
| +++ chrome/browser/ui/webui/chrome_web_ui_data_source.cc (working copy) |
| @@ -33,6 +33,9 @@ |
| if (EndsWith(path, ".js", false)) |
| return "application/javascript"; |
| + if (EndsWith(path, ".pdf", false)) |
| + return "application/pdf"; |
| + |
| return "text/html"; |
| } |