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

Unified Diff: mojo/public/cpp/bindings/tests/binding_unittest.cc

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: delay InterfacePtr::Create() until you actually need an InterfacePtr. GetProxy() and ConnectToAppl… Created 4 years, 10 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: mojo/public/cpp/bindings/tests/binding_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/binding_unittest.cc b/mojo/public/cpp/bindings/tests/binding_unittest.cc
index b8d4cf482f1eb072aa342bf7e04e3c42f788de63..491a9fa409a4252c9c7accb7938905b9f5d9752b 100644
--- a/mojo/public/cpp/bindings/tests/binding_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/binding_unittest.cc
@@ -44,7 +44,7 @@ class ServiceImpl : public sample::Service {
// sample::Service implementation
void Frobinate(sample::FooPtr foo,
BazOptions options,
- sample::PortPtr port,
+ mojo::InterfaceHandle<sample::Port> port,
const FrobinateCallback& callback) override {
callback.Run(1);
}
@@ -336,4 +336,4 @@ TEST_F(BindingTest, StrongBindingUnbindCompile) {
}
} // namespace
-} // mojo
+} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698