OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_HELLO_IMPL_H_ |
| 6 #define PPAPI_SHARED_IMPL_HELLO_IMPL_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 10 #include "ppapi/thunk/ppb_hello_api.h" |
| 11 |
| 12 namespace ppapi { |
| 13 |
| 14 // This class provides the shared implementation of a Hello. It is derived from |
| 15 // the proxied and non-proxied classes. |
| 16 class PPAPI_SHARED_EXPORT HelloImpl : public thunk::PPB_Hello_API { |
| 17 public: |
| 18 HelloImpl(); |
| 19 virtual ~HelloImpl(); |
| 20 |
| 21 // PPB_Hello_API implementation. |
| 22 virtual int32_t SayHello() OVERRIDE; |
| 23 virtual void WhoAreYou(char* name, uint32_t size, |
| 24 pp::CompletionCallback callback) OVERRIDE; |
| 25 }; |
| 26 |
| 27 } // namespace ppapi |
| 28 |
| 29 #endif // PPAPI_SHARED_IMPL_HELLO_IMPL_H_ |
OLD | NEW |