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

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

Issue 11968028: Remove connect message from Native Messaging API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/api/messaging/message_service.h
diff --git a/chrome/browser/extensions/api/messaging/message_service.h b/chrome/browser/extensions/api/messaging/message_service.h
index f4c691a0f9b4e93cd5c6be632c490f7ae0b66c8c..bbcf2d8be43025cac3094000c0156d00ea2f3ebd 100644
--- a/chrome/browser/extensions/api/messaging/message_service.h
+++ b/chrome/browser/extensions/api/messaging/message_service.h
@@ -119,17 +119,7 @@ class MessageService : public content::NotificationObserver,
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);
-
- // Should be called on the UI thread.
- void FinalizeOpenChannelToNativeApp(
- int receiver_port_id,
- const std::string& channel_name,
- scoped_ptr<MessageChannel> channel,
- const std::string& tab_json,
- NativeMessageProcessHost::ScopedHost native_process);
+ const std::string& native_app_name);
// Closes the message channel associated with the given port, and notifies
// the other side.
@@ -140,7 +130,8 @@ class MessageService : public content::NotificationObserver,
// NativeMessageProcessHost::Client
virtual void PostMessageFromNativeProcess(
- int port_id, const std::string& message) OVERRIDE;
+ int port_id,
+ const std::string& message) OVERRIDE;
private:
friend class MockMessageService;

Powered by Google App Engine
This is Rietveld 408576698