Index: mojo/examples/hello_world_service/hello_world_service_impl.h |
diff --git a/mojo/examples/hello_world_service/hello_world_service_impl.h b/mojo/examples/hello_world_service/hello_world_service_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..00f0003393df49690765d91eb84b196ef84758ae |
--- /dev/null |
+++ b/mojo/examples/hello_world_service/hello_world_service_impl.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef MOJO_EXAMPLES_HELLO_WORLD_SERVICE_HELLO_WORLD_SERVICE_IMPL_H_ |
+#define MOJO_EXAMPLES_HELLO_WORLD_SERVICE_HELLO_WORLD_SERVICE_IMPL_H_ |
+ |
+#include "mojo/public/bindings/lib/remote_ptr.h" |
+#include "mojom/hello_world_service.h" |
+ |
+namespace mojo { |
+namespace examples { |
+ |
+class HelloWorldServiceImpl : public HelloWorldServiceStub { |
+ public: |
+ explicit HelloWorldServiceImpl(mojo::Handle pipe); |
+ virtual void Greeting(const mojo::String* greeting) MOJO_OVERRIDE; |
+ |
+ private: |
+ mojo::RemotePtr<HelloWorldClient> client_; |
+}; |
+ |
+} // examples |
+} // mojo |
+ |
+#endif // MOJO_EXAMPLES_HELLO_WORLD_SERVICE_HELLO_WORLD_SERVICE_IMPL_H_ |