Chromium Code Reviews| 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..f3077985e99d24c71bdeeca71e8862c6e7bb81e7 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. |
|
Bernhard Bauer
2015/08/13 12:40:26
Under which circumstances?
Greg K
2015/08/13 22:00:44
Done.
|
| + static content::PepperPluginInfo* FindMostRecentPlugin( |
|
Bernhard Bauer
2015/08/13 12:40:26
Is this method called outside of ChromeContentClie
Greg K
2015/08/13 22:00:44
Done.
|
| + const std::vector<content::PepperPluginInfo*>& plugins); |
| #endif |
| void SetActiveURL(const GURL& url) override; |