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

Unified Diff: content/browser/navigator_connect/service_port_service_impl.cc

Issue 1409223004: mandoline: Add automatic tracing at mojo call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Safety rebase to ToT Created 5 years, 2 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/browser/navigator_connect/service_port_service_impl.cc
diff --git a/content/browser/navigator_connect/service_port_service_impl.cc b/content/browser/navigator_connect/service_port_service_impl.cc
index c8847a7f5b4413156a1d1f859ba395051f97a3c9..6b57df5ca8a2567c2b0309c85f2f7ed77bb0fb72 100644
--- a/content/browser/navigator_connect/service_port_service_impl.cc
+++ b/content/browser/navigator_connect/service_port_service_impl.cc
@@ -52,7 +52,7 @@ void ServicePortServiceImpl::PostMessageToClient(
std::vector<int> new_routing_ids;
message_port_message_filter_->UpdateMessagePortsWithNewRoutes(
sent_message_ports, &new_routing_ids);
- client_->PostMessage(
+ client_->PostMessageToPort(
port_id, mojo::String::From(message.message_as_string),
mojo::Array<MojoTransferredMessagePortPtr>::From(sent_message_ports),
mojo::Array<int32_t>::From(new_routing_ids));
@@ -94,7 +94,7 @@ void ServicePortServiceImpl::Connect(const mojo::String& target_url,
weak_ptr_factory_.GetWeakPtr(), callback));
}
-void ServicePortServiceImpl::PostMessage(
+void ServicePortServiceImpl::PostMessageToPort(
int32_t port_id,
const mojo::String& message,
mojo::Array<MojoTransferredMessagePortPtr> ports) {
« no previous file with comments | « content/browser/navigator_connect/service_port_service_impl.h ('k') | content/child/navigator_connect/service_port_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698