Index: chrome/browser/extensions/message_service.h |
diff --git a/chrome/browser/extensions/message_service.h b/chrome/browser/extensions/message_service.h |
index 47a3116dc315a519fd6acbca3872caf75cd06dc4..955d7c432efde4c59bdd2dd9814b7738e4cab996 100644 |
--- a/chrome/browser/extensions/message_service.h |
+++ b/chrome/browser/extensions/message_service.h |
@@ -78,6 +78,20 @@ class MessageService : public content::NotificationObserver { |
int tab_id, const std::string& extension_id, |
const std::string& channel_name); |
+ void OpenChannelToNativeApp( |
+ int source_process_id, int source_routing_id, int receiver_port_id, |
+ const std::string& source_extension_id, |
+ const std::string& native_app_name, |
+ const std::string& channel_name, |
+ const std::string& connect_message); |
+ void OpenChannelToNativeAppOnFileThread( |
+ int receiver_port_id, |
+ const std::string& native_app_name, |
+ const std::string& channel_name, |
+ const std::string& connect_message, |
+ MessageChannel* channel, |
+ const std::string& tab_json); |
+ |
// Closes the message channel associated with the given port, and notifies |
// the other side. |
void CloseChannel(int port_id, bool connection_error); |