Chromium Code Reviews

Unified Diff: chrome/common/pepper_plugin_registry.cc

Issue 2806049: Allow Pepper plugins to make requests with relative urls. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/common/pepper_plugin_registry.h ('k') | webkit/glue/plugins/pepper_url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pepper_plugin_registry.cc
===================================================================
--- chrome/common/pepper_plugin_registry.cc (revision 51504)
+++ chrome/common/pepper_plugin_registry.cc (working copy)
@@ -74,6 +74,8 @@
pdf.path = path;
pdf.name = "Chrome PDF Viewer";
pdf.mime_types.push_back("application/pdf");
+ pdf.file_extensions = "pdf";
+ pdf.type_descriptions = "Portable Document Format";
plugins->push_back(pdf);
}
}
« no previous file with comments | « chrome/common/pepper_plugin_registry.h ('k') | webkit/glue/plugins/pepper_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine