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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.h

Issue 105553005: Make PepperWebPlugin not use RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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/extensions/extension_function_dispatcher.h
===================================================================
--- chrome/browser/extensions/extension_function_dispatcher.h (revision 241580)
+++ chrome/browser/extensions/extension_function_dispatcher.h (working copy)
@@ -19,6 +19,7 @@
namespace content {
class BrowserContext;
+class RenderFrameHost;
class RenderViewHost;
class WebContents;
}
@@ -111,7 +112,7 @@
// |callback| is called when the function execution completes.
void DispatchWithCallback(
const ExtensionHostMsg_Request_Params& params,
- content::RenderViewHost* render_view_host,
+ content::RenderFrameHost* render_frame_host,
const ExtensionFunction::ResponseCallback& callback);
// Called when an ExtensionFunction is done executing, after it has sent
@@ -156,6 +157,12 @@
static void SendAccessDenied(
const ExtensionFunction::ResponseCallback& callback);
+ void DispatchWithCallbackInternal(
+ const ExtensionHostMsg_Request_Params& params,
+ content::RenderViewHost* render_view_host,
+ content::RenderFrameHost* render_frame_host,
+ const ExtensionFunction::ResponseCallback& callback);
+
content::BrowserContext* browser_context_;
Delegate* delegate_;

Powered by Google App Engine
This is Rietveld 408576698