| Index: mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| diff --git a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| index 7f886b69f5f2e7282bc7a55ae805fa0b8bfeeb8c..10fa45294c0c6070a289893e534bdaf1719bda90 100644
|
| --- a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| @@ -101,6 +101,18 @@ class SampleFactoryImpl : public InterfaceImpl<sample::Factory> {
|
| BindToRequest(new SampleObjectImpl(), &object_request);
|
| }
|
|
|
| + // These aren't called or implemented, but exist here to test that the
|
| + // methods are generated with the correct argument types for imported
|
| + // interfaces.
|
| + virtual void RequestImportedInterface(
|
| + InterfaceRequest<imported::ImportedInterface> imported,
|
| + const mojo::Callback<void(InterfaceRequest<imported::ImportedInterface>)>&
|
| + callback) MOJO_OVERRIDE {}
|
| + virtual void TakeImportedInterface(
|
| + imported::ImportedInterfacePtr imported,
|
| + const mojo::Callback<void(imported::ImportedInterfacePtr)>& callback)
|
| + MOJO_OVERRIDE {}
|
| +
|
| private:
|
| ScopedMessagePipeHandle pipe1_;
|
| };
|
|
|