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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1311353005: Adds a way to determine id of content handler that created app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke comment Created 5 years, 4 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 | « content/browser/mojo/mojo_shell_context.cc ('k') | mandoline/ui/aura/surface_binding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index e10966913fddfc67356d6519f541d8b4686452f8..aead371097a09dfd24a4eee4b1deab53329415e4 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -537,6 +537,8 @@ bool IsReload(FrameMsg_Navigate_Type::Value navigation_type) {
RenderFrameImpl::CreateRenderFrameImplFunction g_create_render_frame_impl =
nullptr;
+void OnGotContentHandlerID(uint32_t content_handler_id) {}
+
} // namespace
// static
@@ -5115,7 +5117,8 @@ mojo::ServiceProviderPtr RenderFrameImpl::ConnectToApplication(
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From(url);
mojo_shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider),
- nullptr, nullptr);
+ nullptr, nullptr,
+ base::Bind(&OnGotContentHandlerID));
return service_provider.Pass();
}
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | mandoline/ui/aura/surface_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698