diff options
author | mad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-08 02:33:26 +0000 |
---|---|---|
committer | mad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-08 02:33:26 +0000 |
commit | d181233239400698741f9765bc2b9769f9e1f2ef (patch) | |
tree | 939d0358920a87ac9eadbe14ee3398546b00a872 /chrome/browser/extensions/extension_message_service.h | |
parent | e8637201ee40d8a09066ff2204a1b05594eefdf1 (diff) | |
download | chromium_src-d181233239400698741f9765bc2b9769f9e1f2ef.zip chromium_src-d181233239400698741f9765bc2b9769f9e1f2ef.tar.gz chromium_src-d181233239400698741f9765bc2b9769f9e1f2ef.tar.bz2 |
Committing for Siggi based on review:
http://codereview.chromium.org/165134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_message_service.h')
-rw-r--r-- | chrome/browser/extensions/extension_message_service.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_message_service.h b/chrome/browser/extensions/extension_message_service.h index 60e2e2b..a6b1cd5 100644 --- a/chrome/browser/extensions/extension_message_service.h +++ b/chrome/browser/extensions/extension_message_service.h @@ -42,9 +42,9 @@ class URLRequestContext; // port: an IPC::Message::Sender interface and an optional routing_id (in the // case that the port is a tab). The Sender is usually either a // RenderProcessHost or a RenderViewHost. -class ExtensionMessageService : - public base::RefCountedThreadSafe<ExtensionMessageService>, - public NotificationObserver { +class ExtensionMessageService + : public base::RefCountedThreadSafe<ExtensionMessageService>, + public NotificationObserver { public: // Javascript function name constants. static const char kDispatchOnConnect[]; @@ -88,6 +88,7 @@ class ExtensionMessageService : int OpenAutomationChannelToExtension(int source_process_id, int routing_id, const std::string& extension_id, + const std::string& channel_name, IPC::Message::Sender* source); // --- IO thread only: @@ -137,7 +138,7 @@ class ExtensionMessageService : const std::string& channel_name); // Common between OpenChannelOnUIThread and OpenAutomationChannelToExtension. - void OpenChannelOnUIThreadImpl( + bool OpenChannelOnUIThreadImpl( IPC::Message::Sender* source, int source_process_id, int source_routing_id, const MessagePort& receiver, int receiver_port_id, const std::string& extension_id, const std::string& channel_name); |