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

Unified Diff: content/browser/renderer_host/buffered_resource_handler.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: content/browser/renderer_host/buffered_resource_handler.cc
===================================================================
--- content/browser/renderer_host/buffered_resource_handler.cc (revision 96613)
+++ content/browser/renderer_host/buffered_resource_handler.cc (working copy)
@@ -389,7 +389,7 @@
// Finally, check the plugin list.
bool allow_wildcard = false;
bool stale = false;
- std::vector<webkit::npapi::WebPluginInfo> plugins;
+ std::vector<webkit::WebPluginInfo> plugins;
webkit::npapi::PluginList::Singleton()->GetPluginInfoArray(
request_->url(), type, allow_wildcard, &stale, &plugins, NULL);
if (need_plugin_list) {
@@ -402,7 +402,7 @@
}
for (size_t i = 0; i < plugins.size(); ++i) {
- if (webkit::npapi::IsPluginEnabled(plugins[i]))
+ if (webkit::IsPluginEnabled(plugins[i]))
return false;
}
return true;
@@ -440,7 +440,7 @@
}
void BufferedResourceHandler::LoadPlugins() {
- std::vector<webkit::npapi::WebPluginInfo> plugins;
+ std::vector<webkit::WebPluginInfo> plugins;
webkit::npapi::PluginList::Singleton()->GetPlugins(&plugins);
BrowserThread::PostTask(
« no previous file with comments | « content/browser/plugin_service_browsertest.cc ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698