Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: mojo/common/bindings_support_impl.h

Issue 62773003: Mojo: Add BindingsSupportImpl on top of HandleWatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « no previous file | mojo/common/bindings_support_impl.cc » ('j') | mojo/common/bindings_support_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698