| Index: chrome/browser/plugins/plugin_info_message_filter.h
|
| diff --git a/chrome/browser/plugins/plugin_info_message_filter.h b/chrome/browser/plugins/plugin_info_message_filter.h
|
| index c9987c5573e4306d32363541be5dc79deeb55e24..c107ea185fbddeb6a3c21e0d1e85a1ca580ab713 100644
|
| --- a/chrome/browser/plugins/plugin_info_message_filter.h
|
| +++ b/chrome/browser/plugins/plugin_info_message_filter.h
|
| @@ -26,6 +26,7 @@ class Profile;
|
|
|
| namespace content {
|
| class ResourceContext;
|
| +class WebContents;
|
| struct WebPluginInfo;
|
| }
|
|
|
| @@ -64,6 +65,7 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
|
| void MaybeGrantAccess(const ChromeViewHostMsg_GetPluginInfo_Status& status,
|
| const base::FilePath& path) const;
|
|
|
| + int render_process_id() { return render_process_id_; }
|
| private:
|
| int render_process_id_;
|
| content::ResourceContext* resource_context_;
|
| @@ -93,6 +95,21 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
|
| const std::string& mime_type,
|
| IPC::Message* reply_msg);
|
|
|
| + void CreateGuestOnUI(
|
| + Profile* profile,
|
| + int render_process_id,
|
| + GURL top_origin_url,
|
| + scoped_ptr<ChromeViewHostMsg_GetPluginInfo_Output> output,
|
| + IPC::Message* reply_msg);
|
| + void OnGuestCreatedCallback(
|
| + scoped_ptr<ChromeViewHostMsg_GetPluginInfo_Output> output,
|
| + IPC::Message* reply_msg,
|
| + content::WebContents* guest_web_contents);
|
| + void OnGuestCreatedOnUI(
|
| + int guest_instance_id,
|
| + const scoped_ptr<ChromeViewHostMsg_GetPluginInfo_Output>& output,
|
| + IPC::Message* reply_msg);
|
| +
|
| // |params| wraps the parameters passed to |OnGetPluginInfo|, because
|
| // |base::Bind| doesn't support the required arity <http://crbug.com/98542>.
|
| void PluginsLoaded(const GetPluginInfo_Params& params,
|
| @@ -114,6 +131,7 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
|
| #endif
|
|
|
| Context context_;
|
| + Profile* profile_;
|
|
|
| base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_;
|
|
|
|
|