Chromium Code Reviews| Index: mojo/public/bindings/sample/generated/sample_service.h |
| diff --git a/mojo/public/bindings/sample/generated/sample_service.h b/mojo/public/bindings/sample/generated/sample_service.h |
| index 9a77aa008cfa2af37787baa632a2ae8bcb71ccd6..6c42edb21b00cc84f4aeb0e1bf291ae01703f37a 100644 |
| --- a/mojo/public/bindings/sample/generated/sample_service.h |
| +++ b/mojo/public/bindings/sample/generated/sample_service.h |
| @@ -106,11 +106,32 @@ MOJO_COMPILE_ASSERT(sizeof(Foo) == 64, bad_sizeof_Foo); |
| #pragma pack(pop) |
| +class Service; |
| +class ServiceProxy; |
| +class ServiceStub; |
| + |
| +class ServiceClient; |
| +class ServiceClientProxy; |
| +class ServiceClientStub; |
| + |
| class Service { |
| public: |
| + typedef ServiceProxy _ProxyType; |
|
DaveMoore
2013/11/12 01:15:38
In interface_declaration the "Type" has been dropp
|
| + typedef ServiceStub _StubType; |
| + typedef ServiceClient _PeerType; |
| + |
| virtual void Frobinate(const Foo* foo, bool baz, mojo::Handle port) = 0; |
| }; |
| +class ServiceClient { |
| + public: |
| + typedef ServiceClientProxy _ProxyType; |
| + typedef ServiceClientStub _StubType; |
| + typedef Service _PeerType; |
| + |
| + virtual void DidFrobinate(int32_t result) = 0; |
| +}; |
| + |
| class ServiceProxy : public Service { |
| public: |
| explicit ServiceProxy(mojo::MessageReceiver* receiver); |
| @@ -122,11 +143,26 @@ class ServiceProxy : public Service { |
| mojo::MessageReceiver* receiver_; |
| }; |
| +class ServiceClientProxy : public ServiceClient { |
| + public: |
| + explicit ServiceClientProxy(mojo::MessageReceiver* receiver); |
| + |
| + virtual void DidFrobinate(int32_t result) MOJO_OVERRIDE; |
| + |
| + private: |
| + mojo::MessageReceiver* receiver_; |
| +}; |
| + |
| class ServiceStub : public Service, public mojo::MessageReceiver { |
| public: |
| virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE; |
| }; |
| +class ServiceClientStub : public ServiceClient, public mojo::MessageReceiver { |
| + public: |
| + virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE; |
| +}; |
| + |
| } // namespace sample |
| #endif // MOJO_GENERATED_BINDINGS_SAMPLE_SERVICE_H_ |