OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 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 MOJO_COMMON_BINDINGS_SUPPORT_IMPL_H_ |
| 6 #define MOJO_COMMON_BINDINGS_SUPPORT_IMPL_H_ |
| 7 |
| 8 #include "mojo/public/bindings/lib/bindings_support.h" |
| 9 |
| 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/ref_counted.h" |
| 13 #include "mojo/common/mojo_common_export.h" |
| 14 |
| 15 namespace mojo { |
| 16 namespace common { |
| 17 |
| 18 class MOJO_COMMON_EXPORT BindingsSupportImpl |
| 19 : NON_EXPORTED_BASE(public BindingsSupport) { |
| 20 public: |
| 21 BindingsSupportImpl(); |
| 22 virtual ~BindingsSupportImpl(); |
| 23 |
| 24 // BindingsSupport methods: |
| 25 virtual AsyncWaitID AsyncWait(Handle handle, MojoWaitFlags flags, |
| 26 AsyncWaitCallback* callback) OVERRIDE; |
| 27 virtual void CancelWait(AsyncWaitID async_wait_id) OVERRIDE; |
| 28 |
| 29 private: |
| 30 class Context; |
| 31 scoped_refptr<Context> context_; |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(BindingsSupportImpl); |
| 34 }; |
| 35 |
| 36 } // namespace common |
| 37 } // namespace mojo |
| 38 |
| 39 #endif // MOJO_COMMON_BINDINGS_SUPPORT_IMPL_H_ |
OLD | NEW |