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

Unified Diff: content/child/navigator_connect/service_port_provider.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
« no previous file with comments | « content/child/navigator_connect/service_port_provider.h ('k') | content/common/service_port_service.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/navigator_connect/service_port_provider.cc
diff --git a/content/child/navigator_connect/service_port_provider.cc b/content/child/navigator_connect/service_port_provider.cc
index c66a748dc1877689f65a1691e80e4a3f90533b6d..8369ff57975ab37d313ef080d78786b391713a80 100644
--- a/content/child/navigator_connect/service_port_provider.cc
+++ b/content/child/navigator_connect/service_port_provider.cc
@@ -80,7 +80,7 @@ void ServicePortProvider::closePort(blink::WebServicePortID port_id) {
GetServicePortServicePtr()->ClosePort(port_id);
}
-void ServicePortProvider::PostMessage(
+void ServicePortProvider::PostMessageToPort(
int32_t port_id,
const mojo::String& message,
mojo::Array<MojoTransferredMessagePortPtr> ports,
@@ -98,7 +98,7 @@ void ServicePortProvider::PostMessageToBrowser(
int port_id,
const base::string16& message,
const std::vector<TransferredMessagePort> ports) {
- GetServicePortServicePtr()->PostMessage(
+ GetServicePortServicePtr()->PostMessageToPort(
port_id, mojo::String::From(message),
mojo::Array<MojoTransferredMessagePortPtr>::From(ports));
}
« no previous file with comments | « content/child/navigator_connect/service_port_provider.h ('k') | content/common/service_port_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698