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

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

Issue 8493019: Refactor PluginService to take PluginList as a dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove TestPluginService Created 9 years, 1 month 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: webkit/plugins/npapi/mock_plugin_list.h
diff --git a/webkit/plugins/npapi/mock_plugin_list.h b/webkit/plugins/npapi/mock_plugin_list.h
index 15c11c9c6a8a4b742cebc0812b4808715212c5f5..4ef5c3da431c64ebd70793b157df7377ffa19af1 100644
--- a/webkit/plugins/npapi/mock_plugin_list.h
+++ b/webkit/plugins/npapi/mock_plugin_list.h
@@ -21,6 +21,10 @@ class MockPluginList : public PluginList {
void AddPluginToLoad(const WebPluginInfo& plugin);
void ClearPluginsToLoad();
+ // PluginList:
+ virtual bool GetPluginsIfNoRefreshNeeded(
+ std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
+
private:
std::vector<WebPluginInfo> plugins_to_load_;

Powered by Google App Engine
This is Rietveld 408576698