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

Unified Diff: chrome/browser/automation/testing_automation_provider.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 | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider.cc (revision 96613)
+++ chrome/browser/automation/testing_automation_provider.cc (working copy)
@@ -3401,10 +3401,10 @@
this, browser, args, reply_message));
return;
}
- std::vector<webkit::npapi::WebPluginInfo> plugins;
+ std::vector<webkit::WebPluginInfo> plugins;
webkit::npapi::PluginList::Singleton()->GetPlugins(&plugins);
ListValue* items = new ListValue;
- for (std::vector<webkit::npapi::WebPluginInfo>::const_iterator it =
+ for (std::vector<webkit::WebPluginInfo>::const_iterator it =
plugins.begin();
it != plugins.end();
++it) {
@@ -3413,10 +3413,10 @@
item->SetString("path", it->path.value());
item->SetString("version", it->version);
item->SetString("desc", it->desc);
- item->SetBoolean("enabled", webkit::npapi::IsPluginEnabled(*it));
+ item->SetBoolean("enabled", webkit::IsPluginEnabled(*it));
// Add info about mime types.
ListValue* mime_types = new ListValue();
- for (std::vector<webkit::npapi::WebPluginMimeType>::const_iterator type_it =
+ for (std::vector<webkit::WebPluginMimeType>::const_iterator type_it =
it->mime_types.begin();
type_it != it->mime_types.end();
++type_it) {
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698