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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1578473002: Pass application ids via AcceptConnection & ConnectToApplication callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 76ffb6978383e300095af8f3fea399f3fc6bf03b..f497015c0b4a0275a520159a4be5d85b06d01057 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -575,7 +575,7 @@ bool IsReload(FrameMsg_Navigate_Type::Value navigation_type) {
RenderFrameImpl::CreateRenderFrameImplFunction g_create_render_frame_impl =
nullptr;
-void OnGotContentHandlerID(uint32_t content_handler_id) {}
+void OnGotRemoteIDs(uint32_t remote_id, uint32_t content_handler_id) {}
WebString ConvertRelativePathToHtmlAttribute(const base::FilePath& path) {
DCHECK(!path.IsAbsolute());
@@ -5682,7 +5682,7 @@ mojo::ServiceProviderPtr RenderFrameImpl::ConnectToApplication(
filter->filter.insert("*", std::move(all_interfaces));
mojo_shell_->ConnectToApplication(
std::move(request), GetProxy(&service_provider), nullptr,
- std::move(filter), base::Bind(&OnGotContentHandlerID));
+ std::move(filter), base::Bind(&OnGotRemoteIDs));
return service_provider;
}

Powered by Google App Engine
This is Rietveld 408576698