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

Unified 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: Windows fix. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/common/bindings_support_impl.cc » ('j') | mojo/common/bindings_support_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/bindings_support_impl.h
diff --git a/mojo/common/bindings_support_impl.h b/mojo/common/bindings_support_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..6553accff668420241f82efe928994a339572067
--- /dev/null
+++ b/mojo/common/bindings_support_impl.h
@@ -0,0 +1,31 @@
+// 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_COMMON_BINDINGS_SUPPORT_IMPL_H_
+#define MOJO_COMMON_BINDINGS_SUPPORT_IMPL_H_
+
+#include "mojo/public/bindings/lib/bindings_support.h"
+
+#include "base/compiler_specific.h"
+#include "mojo/common/mojo_common_export.h"
+
+namespace mojo {
+namespace common {
+
+class MOJO_COMMON_EXPORT BindingsSupportImpl
+ : NON_EXPORTED_BASE(public BindingsSupport) {
+ public:
+ BindingsSupportImpl();
+ virtual ~BindingsSupportImpl();
+
+ // BindingsSupport methods:
+ virtual AsyncWaitID AsyncWait(Handle handle, MojoWaitFlags flags,
+ AsyncWaitCallback* callback) OVERRIDE;
+ virtual void CancelWait(AsyncWaitID async_wait_id) OVERRIDE;
+};
sky 2013/11/08 16:44:02 private: DISALLOW...
+
+} // namespace common
+} // namespace mojo
+
+#endif // MOJO_COMMON_BINDINGS_SUPPORT_IMPL_H_
« 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