diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 20:38:56 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 20:38:56 +0000 |
commit | 2933580fcac85dbd0ad6eb5ccb5fe88fef40a128 (patch) | |
tree | d79b615ee353f0f6e90668e00aae824894853f04 /chrome/renderer/mock_render_thread.h | |
parent | cd7b299fd6053afcd625ce36f0e51f94c83b182c (diff) | |
download | chromium_src-2933580fcac85dbd0ad6eb5ccb5fe88fef40a128.zip chromium_src-2933580fcac85dbd0ad6eb5ccb5fe88fef40a128.tar.gz chromium_src-2933580fcac85dbd0ad6eb5ccb5fe88fef40a128.tar.bz2 |
Add an optional channel name to the extension message connect event.
Also changed the way port IDs work internally to reduce confusion. Each end of the port has its own ID, not the ID of its opposite end.
BUG=13706
TEST=no
Review URL: http://codereview.chromium.org/155381
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20519 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/mock_render_thread.h')
-rw-r--r-- | chrome/renderer/mock_render_thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h index 1921fb1..0e5bab8 100644 --- a/chrome/renderer/mock_render_thread.h +++ b/chrome/renderer/mock_render_thread.h @@ -79,9 +79,9 @@ class MockRenderThread : public RenderThreadBase { int* route_id); // The callee expects to be returned a valid channel_id. - void OnMsgOpenChannelToExtension(int routing_id, - const std::string& extension_id, - int* channel_id); + void OnMsgOpenChannelToExtension( + int routing_id, const std::string& extension_id, + const std::string& channel_name, int* port_id); void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, base::SharedMemoryHandle* browser_handle); |