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

Unified Diff: shell/shell_test_base.h

Issue 1660403003: Mojo C++ bindings: Rename InterfaceInfoPtr -> InterfaceHandle (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: using {{InterfaceName}}Handle = InterfaceHandle<{{InterfaceName}}> 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: shell/shell_test_base.h
diff --git a/shell/shell_test_base.h b/shell/shell_test_base.h
index 2ba4321cf140f6600a229218e346c2b37e4fabbe..57260ea81c1654e7493ed7c1d5379e956156ee21 100644
--- a/shell/shell_test_base.h
+++ b/shell/shell_test_base.h
@@ -36,7 +36,7 @@ class ShellTestBase : public testing::Test {
template <typename Interface>
void ConnectToService(const GURL& application_url,
mojo::InterfacePtr<Interface>* ptr) {
- mojo::InterfacePtrInfo<Interface> interface(
+ mojo::InterfaceHandle<Interface> interface(
ConnectToService(application_url, Interface::Name_).Pass(), 0u);
ptr->Bind(interface.Pass());
}
« mojo/public/cpp/bindings/lib/bindings_serialization.h ('K') | « shell/child_process_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698