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

Side by Side Diff: extensions/common/extension_messages.h

Issue 2006013002: [Extensions] Determine NativeMessaging ID solely on the browser process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ;; Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 // the given ID. This always returns a valid port ID which can be used for 661 // the given ID. This always returns a valid port ID which can be used for
662 // sending messages. If an error occurred, the opener will be notified 662 // sending messages. If an error occurred, the opener will be notified
663 // asynchronously. 663 // asynchronously.
664 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToExtension, 664 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToExtension,
665 int /* frame_routing_id */, 665 int /* frame_routing_id */,
666 ExtensionMsg_ExternalConnectionInfo, 666 ExtensionMsg_ExternalConnectionInfo,
667 std::string /* channel_name */, 667 std::string /* channel_name */,
668 bool /* include_tls_channel_id */, 668 bool /* include_tls_channel_id */,
669 int /* port_id */) 669 int /* port_id */)
670 670
671 IPC_SYNC_MESSAGE_CONTROL3_1(ExtensionHostMsg_OpenChannelToNativeApp, 671 IPC_SYNC_MESSAGE_CONTROL2_1(ExtensionHostMsg_OpenChannelToNativeApp,
672 int /* frame_routing_id */, 672 int /* frame_routing_id */,
673 std::string /* source_extension_id */,
674 std::string /* native_app_name */, 673 std::string /* native_app_name */,
675 int /* port_id */) 674 int /* port_id */)
676 675
677 // Get a port handle to the given tab. The handle can be used for sending 676 // Get a port handle to the given tab. The handle can be used for sending
678 // messages to the extension. 677 // messages to the extension.
679 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToTab, 678 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToTab,
680 int /* frame_routing_id */, 679 int /* frame_routing_id */,
681 ExtensionMsg_TabTargetConnectionInfo, 680 ExtensionMsg_TabTargetConnectionInfo,
682 std::string /* extension_id */, 681 std::string /* extension_id */,
683 std::string /* channel_name */, 682 std::string /* channel_name */,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 int /* acc_obj_id */, 830 int /* acc_obj_id */,
832 base::string16 /* selector */) 831 base::string16 /* selector */)
833 832
834 // Result of a query selector request. 833 // Result of a query selector request.
835 // result_acc_obj_id is the accessibility tree ID of the result element; 0 834 // result_acc_obj_id is the accessibility tree ID of the result element; 0
836 // indicates no result. 835 // indicates no result.
837 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, 836 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result,
838 int /* request_id */, 837 int /* request_id */,
839 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, 838 ExtensionHostMsg_AutomationQuerySelector_Error /* error */,
840 int /* result_acc_obj_id */) 839 int /* result_acc_obj_id */)
OLDNEW
« no previous file with comments | « extensions/browser/extension_web_contents_observer.h ('k') | extensions/renderer/runtime_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698