Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1861)

Unified Diff: chrome/browser/extensions/message_service.h

Issue 10818013: Native Messaging! (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Everything is Different! Merged with MessageService Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « no previous file | chrome/browser/extensions/message_service.cc » ('j') | chrome/browser/extensions/message_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698