Index: chrome/common/chrome_content_client.h |
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h |
index 38c14d6824a44a710da78fcbf02d3c5d14994d05..fed4b92e1f629cbbab9ee6da8acecf0099843112 100644 |
--- a/chrome/common/chrome_content_client.h |
+++ b/chrome/common/chrome_content_client.h |
@@ -48,6 +48,12 @@ class ChromeContentClient : public content::ContentClient { |
content::PepperPluginInfo::GetInterfaceFunc get_interface, |
content::PepperPluginInfo::PPP_InitializeModuleFunc initialize_module, |
content::PepperPluginInfo::PPP_ShutdownModuleFunc shutdown_module); |
+ |
+ // This returns the most recent plugin based on the plugin versions. |
+ // It does not make sense to call this on a vector that contains more than one |
+ // plugin type. This function may return a nullptr. |
+ static content::PepperPluginInfo* FindMostRecentPlugin( |
+ std::vector<content::PepperPluginInfo*>& plugins); |
jln (very slow on Chromium)
2015/08/07 22:27:19
non const references are forbidden.
Greg K
2015/08/08 00:23:57
Done.
|
#endif |
void SetActiveURL(const GURL& url) override; |