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

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 387a2c04afa24380c0fc610c0cdcea6c2a46a6e8..82dfe9a1b913cb8544839fb456ac9dd37919113f 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -590,7 +590,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());
@@ -6040,7 +6040,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;
}
« no previous file with comments | « content/browser/mojo/mojo_app_connection_impl.cc ('k') | mash/task_viewer/task_viewer_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698