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

Unified Diff: chrome/browser/chromeos/gview_request_interceptor.cc

Issue 7648017: Make WebPluginInfo more generic (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/chromeos/gview_request_interceptor.cc
===================================================================
--- chrome/browser/chromeos/gview_request_interceptor.cc (revision 96613)
+++ chrome/browser/chromeos/gview_request_interceptor.cc (working copy)
@@ -65,11 +65,11 @@
// redirect PDF files to Google Document Viewer.
if (mime_type == kPdfMimeType) {
FilePath pdf_path;
- webkit::npapi::WebPluginInfo info;
+ webkit::WebPluginInfo info;
PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_path);
if (webkit::npapi::PluginList::Singleton()->GetPluginInfoByPath(
pdf_path, &info) &&
- webkit::npapi::IsPluginEnabled(info))
+ webkit::IsPluginEnabled(info))
return NULL;
}
// If supported, build the URL to the Google Document Viewer
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/chromeos/gview_request_interceptor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698