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

Unified Diff: webkit/plugins/npapi/mock_plugin_list.cc

Issue 10860044: 1st CL in a series to remove PluginGroup. Updates PluginList. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 1st CL in series to delete PluginGroup. Updates PluginList only. Created 8 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 | « webkit/plugins/npapi/mock_plugin_list.h ('k') | webkit/plugins/npapi/plugin_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/mock_plugin_list.cc
diff --git a/webkit/plugins/npapi/mock_plugin_list.cc b/webkit/plugins/npapi/mock_plugin_list.cc
index 4601101f27afec722f71bd1f1883135c013c3c71..8f46557a11fee44532a29410e2700a804c14eadb 100644
--- a/webkit/plugins/npapi/mock_plugin_list.cc
+++ b/webkit/plugins/npapi/mock_plugin_list.cc
@@ -29,11 +29,19 @@ bool MockPluginList::GetPluginsNoRefresh(
return true;
}
+// TODO(ibraaaa): DELETE. http://crbug.com/124396
void MockPluginList::LoadPluginsInternal(
ScopedVector<PluginGroup>* plugin_groups) {
for (size_t i = 0; i < plugins_to_load_.size(); ++i)
AddToPluginGroups(plugins_to_load_[i], plugin_groups);
}
+void MockPluginList::LoadPluginsIntoPluginListInternal(
+ std::vector<webkit::WebPluginInfo>* plugins) {
+ for (size_t i = 0; i < plugins_to_load_.size(); ++i) {
+ plugins->push_back(plugins_to_load_[i]);
+ }
+}
+
} // npapi
} // webkit
« no previous file with comments | « webkit/plugins/npapi/mock_plugin_list.h ('k') | webkit/plugins/npapi/plugin_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698