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

Unified Diff: chrome/renderer/chrome_content_renderer_client.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
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | content/browser/plugin_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.cc
===================================================================
--- chrome/renderer/chrome_content_renderer_client.cc (revision 96613)
+++ chrome/renderer/chrome_content_renderer_client.cc (working copy)
@@ -282,7 +282,7 @@
bool found = false;
*is_default_plugin = false;
CommandLine* cmd = CommandLine::ForCurrentProcess();
- webkit::npapi::WebPluginInfo info;
+ webkit::WebPluginInfo info;
GURL url(original_params.url);
std::string orig_mime_type = original_params.mimeType.utf8();
std::string actual_mime_type;
@@ -292,7 +292,7 @@
if (!found)
return NULL;
- if (!webkit::npapi::IsPluginEnabled(info))
+ if (!webkit::IsPluginEnabled(info))
return NULL;
*is_default_plugin =
@@ -410,7 +410,7 @@
string16 nacl_attr = ASCIIToUTF16(kNaClPluginManifestAttribute);
for (size_t i = 0; i < info.mime_types.size(); ++i) {
if (info.mime_types[i].mime_type == actual_mime_type) {
- const webkit::npapi::WebPluginMimeType& content_type =
+ const webkit::WebPluginMimeType& content_type =
info.mime_types[i];
for (size_t i = 0;
i < content_type.additional_param_names.size(); ++i) {
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | content/browser/plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698