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

Unified Diff: chrome/browser/plugins/plugin_info_message_filter.h

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: remove some printfs. Created 6 years, 5 months 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: 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_;

Powered by Google App Engine
This is Rietveld 408576698