From 52850ee33c3c2e813ff4f3c295f67ad7d9e7df65 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 8 Mar 2016 09:35:03 -0800 Subject: Use instance name to uniquify renderers. We were uniquifying their URLs, but this breaks manifest loading. So use instance names instead. This will allow us to move the capability filter spec for the renderers into a manifest. BUG= Review URL: https://codereview.chromium.org/1778443002 Cr-Commit-Position: refs/heads/master@{#379850} --- mojo/shell/public/cpp/connector.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mojo') diff --git a/mojo/shell/public/cpp/connector.h b/mojo/shell/public/cpp/connector.h index be6ba43..804eb03d 100644 --- a/mojo/shell/public/cpp/connector.h +++ b/mojo/shell/public/cpp/connector.h @@ -62,6 +62,12 @@ class Connector { connection->GetInterface(ptr); } template + void ConnectToInterface(const Identity& target, + InterfacePtr* ptr) { + ConnectParams params(target); + return ConnectToInterface(¶ms, ptr); + } + template void ConnectToInterface(const std::string& name, InterfacePtr* ptr) { ConnectParams params(name); -- cgit v1.1