diff options
Diffstat (limited to 'mojo/examples/sample_app/hello_world_client_impl.h')
-rw-r--r-- | mojo/examples/sample_app/hello_world_client_impl.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/mojo/examples/sample_app/hello_world_client_impl.h b/mojo/examples/sample_app/hello_world_client_impl.h deleted file mode 100644 index 78277c0d..0000000 --- a/mojo/examples/sample_app/hello_world_client_impl.h +++ /dev/null @@ -1,32 +0,0 @@ -// 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_SAMPLE_APP_HELLO_WORLD_CLIENT_IMPL_H_ -#define MOJO_EXAMPLES_SAMPLE_APP_HELLO_WORLD_CLIENT_IMPL_H_ - -#include "mojo/public/bindings/lib/remote_ptr.h" -#include "mojom/hello_world_service.h" - -namespace mojo { -namespace examples { - -class HelloWorldClientImpl : public HelloWorldClientStub { - public: - explicit HelloWorldClientImpl(ScopedMessagePipeHandle pipe); - virtual ~HelloWorldClientImpl(); - - virtual void DidReceiveGreeting(int32_t result) MOJO_OVERRIDE; - - HelloWorldService* service() { - return service_.get(); - } - - private: - RemotePtr<HelloWorldService> service_; -}; - -} // examples -} // mojo - -#endif // MOJO_EXAMPLES_SAMPLE_APP_HELLO_WORLD_CLIENT_IMPL_H_ |