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

Unified Diff: chrome/browser/extensions/file_manager_util.cc

Issue 8357019: Restricting set of URL requests that get intercepted to gview to GET methods with scheme http (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: chrome/browser/extensions/file_manager_util.cc
diff --git a/chrome/browser/extensions/file_manager_util.cc b/chrome/browser/extensions/file_manager_util.cc
index 1eb24341eadb841ce7e52aeda7b3e2d7afc1599d..9b27987d36f8488c675acddbe4558f61068c6a36 100644
--- a/chrome/browser/extensions/file_manager_util.cc
+++ b/chrome/browser/extensions/file_manager_util.cc
@@ -43,8 +43,10 @@ const char kMediaPlayerPlaylistUrl[] = FILEBROWSER_URL("playlist.html");
// List of file extension we can open in tab.
const char* kBrowserSupportedExtensions[] = {
- ".bmp", ".jpg", ".jpeg", ".png", ".webp", ".gif", ".pdf", ".txt", ".html",
- ".htm"
+#if defined(GOOGLE_CHROME_BUILD)
+ ".pdf",
Scott Byer 2011/10/19 22:11:02 Chromium can support PDF in a tab if the plug in i
tbarzic 2011/10/19 23:30:28 If we leave thing as they are, opening pdf file in
+#endif
+ ".bmp", ".jpg", ".jpeg", ".png", ".webp", ".gif", ".txt", ".html", ".htm"
};
// List of file extension that can be handled with the media player.
const char* kAVExtensions[] = {

Powered by Google App Engine
This is Rietveld 408576698