diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-10 22:22:46 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-10 22:22:46 +0000 |
commit | 93df81ea498b7ee1afb839ae58fafaf445fa8054 (patch) | |
tree | 9c0773fb4c69bbebdbd63295c73b84293a1ea5c7 /ppapi/proxy/plugin_proxy_delegate.h | |
parent | b556c2ea563365710107e788eea58d09239b9b50 (diff) | |
download | chromium_src-93df81ea498b7ee1afb839ae58fafaf445fa8054.zip chromium_src-93df81ea498b7ee1afb839ae58fafaf445fa8054.tar.gz chromium_src-93df81ea498b7ee1afb839ae58fafaf445fa8054.tar.bz2 |
Bluetooth API: improve discovery
This CL:
- eliminates unnecessary dispatches
- correctly handles devices that are discovered before interest is
registered
TEST=ran api test
BUG=133179
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150898
Review URL: https://chromiumcodereview.appspot.com/10815072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/plugin_proxy_delegate.h')
-rw-r--r-- | ppapi/proxy/plugin_proxy_delegate.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ppapi/proxy/plugin_proxy_delegate.h b/ppapi/proxy/plugin_proxy_delegate.h index 0ce2655..de0c397 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; |