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

Unified Diff: ppapi/proxy/plugin_proxy_delegate.h

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_proxy_delegate.h
diff --git a/ppapi/proxy/plugin_proxy_delegate.h b/ppapi/proxy/plugin_proxy_delegate.h
index 0ce2655fd5e791fa6d9540be491bcfaf2902006a..de0c397eba80743ca26c079903fa54c94dac7d09 100644
--- a/ppapi/proxy/plugin_proxy_delegate.h
+++ b/ppapi/proxy/plugin_proxy_delegate.h
@@ -7,6 +7,10 @@
#include <string>
+namespace IPC {
+class Sender;
+}
+
namespace ppapi {
namespace proxy {
@@ -15,9 +19,13 @@ class PPAPI_PROXY_EXPORT PluginProxyDelegate {
virtual ~PluginProxyDelegate() {}
// Sends the given message to the browser. Identical semantics to IPC::Sender
- // interface.
+ // interface. New code should use GetBrowserSender instead.
+ // TODO(brettw) remove this.
virtual bool SendToBrowser(IPC::Message* msg) = 0;
+ // Returns the channel for sending to the browser.
+ virtual IPC::Sender* GetBrowserSender() = 0;
+
// Returns the language code of the current UI language.
virtual std::string GetUILanguage() = 0;
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698