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

Unified Diff: extensions/renderer/extension_frame_helper.h

Issue 2331263002: [Extensions] Finish making port creation asynchronous (Closed)
Patch Set: lazyboy's Created 4 years, 3 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
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/renderer/extension_frame_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/extension_frame_helper.h
diff --git a/extensions/renderer/extension_frame_helper.h b/extensions/renderer/extension_frame_helper.h
index da4710a106d3e6290e8f7d93a1b43addc177de90..4c2cc65598ead4499aeb5d1373174714107c3f93 100644
--- a/extensions/renderer/extension_frame_helper.h
+++ b/extensions/renderer/extension_frame_helper.h
@@ -16,6 +16,7 @@
struct ExtensionMsg_ExternalConnectionInfo;
struct ExtensionMsg_TabConnectionInfo;
+struct ExtensionMsg_TabTargetConnectionInfo;
namespace base {
class ListValue;
@@ -87,6 +88,12 @@ class ExtensionFrameHelper
const std::string& channel_name,
bool include_tls_channel_id,
const base::Callback<void(int)>& callback);
+ void RequestTabPortId(const ExtensionMsg_TabTargetConnectionInfo& info,
+ const std::string& extension_id,
+ const std::string& channel_name,
+ const base::Callback<void(int)>& callback);
+ void RequestNativeAppPortId(const std::string& native_app_name,
+ const base::Callback<void(int)>& callback);
private:
// RenderFrameObserver implementation.
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/renderer/extension_frame_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698