Index: chrome/browser/debugger/extension_ports_remote_service.h |
diff --git a/chrome/browser/debugger/extension_ports_remote_service.h b/chrome/browser/debugger/extension_ports_remote_service.h |
index 0a5eea69551f8db782d777cea145be1b627c6c67..401f560614176a09e2b94b3b4362d5ec682a9600 100644 |
--- a/chrome/browser/debugger/extension_ports_remote_service.h |
+++ b/chrome/browser/debugger/extension_ports_remote_service.h |
@@ -77,14 +77,15 @@ class ExtensionPortsRemoteService : public DevToolsRemoteListener, |
const std::string& tool, |
const std::string& destination); |
- // Handles a message from the ExtensionMessageService. |
+ // Handles requests from ExtensionMessageService to invoke specific |
+ // JavaScript functions. Currently we only handle the "disconnect" function. |
void OnExtensionMessageInvoke(const std::string& extension_id, |
const std::string& function_name, |
const base::ListValue& args, |
const GURL& event_url); |
// Handles a message sent from an extension through the |
// ExtensionMessageService, to be passed to the external client. |
- void OnExtensionMessage(const std::string& message, int port_id); |
+ void OnDeliverMessage(int port_id, const std::string& message); |
// Handles a disconnect event sent from the ExtensionMessageService. |
void OnExtensionPortDisconnected(int port_id); |