#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
+#include "base/process/process_handle.h"
#include "content/common/content_export.h"
#include "content/public/browser/browser_child_process_host_delegate.h"
#include "content/public/browser/browser_child_process_host_iterator.h"
void AddWindow(HWND window);
#endif
+ // Given a pid of a plugin process, returns the plugin information in |info|
+ // if we know about that process. Otherwise returns false.
+ // This method can be called on any thread.
+ static bool GetWebPluginInfoFromPluginPid(base::ProcessId pid,
+ WebPluginInfo* info);
+
private:
// Sends a message to the plugin process to request creation of a new channel
// for the given mime type.
// Information about the plugin.
WebPluginInfo info_;
+ // The pid of the plugin process.
+ int pid_;
+
#if defined(OS_WIN)
// Tracks plugin parent windows created on the UI thread.
std::set<HWND> plugin_parent_windows_set_;