diff options
author | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 19:32:43 +0000 |
---|---|---|
committer | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 19:32:43 +0000 |
commit | dfcb62a173898e182e2f10ca635deb753977b9f8 (patch) | |
tree | 39d4ca8b82cfc9f39f1726d4b0ad061cb141c516 /chrome/renderer/render_thread.h | |
parent | 851c567a756e96913098ac03d84fb9ea5761558d (diff) | |
download | chromium_src-dfcb62a173898e182e2f10ca635deb753977b9f8.zip chromium_src-dfcb62a173898e182e2f10ca635deb753977b9f8.tar.gz chromium_src-dfcb62a173898e182e2f10ca635deb753977b9f8.tar.bz2 |
Add a port disconnect event for when one side of an extension message port
goes away.
Combine the various ExtensionMessageService IPC message into a single "Invoke"
message.
BUG=12686
TEST=no
Review URL: http://codereview.chromium.org/126234
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r-- | chrome/renderer/render_thread.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h index 56be75e..83475d9 100644 --- a/chrome/renderer/render_thread.h +++ b/chrome/renderer/render_thread.h @@ -18,6 +18,7 @@ class AppCacheDispatcher; class DevToolsAgentFilter; class FilePath; +class ListValue; class NotificationService; class RenderDnsMaster; class RendererHistogram; @@ -135,10 +136,8 @@ class RenderThread : public RenderThreadBase, // Send all histograms to browser. void OnGetRendererHistograms(int sequence_number); - void OnExtensionHandleConnect(int channel_id, const std::string& tab_json); - void OnExtensionHandleMessage(const std::string& message, int channel_id); - void OnExtensionHandleEvent(const std::string event_name, - const std::string event_data); + void OnExtensionMessageInvoke(const std::string& function_name, + const ListValue& args); void OnPurgePluginListCache(); // Gather usage statistics from the in-memory cache and inform our host. |