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

Unified Diff: mojo/public/bindings/lib/connector.h

Issue 69633002: Mojo: Add BindingsSupportImpl on top of HandleWatcher (take 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « mojo/public/bindings/lib/bindings_support.h ('k') | mojo/public/bindings/lib/connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/lib/connector.h
diff --git a/mojo/public/bindings/lib/connector.h b/mojo/public/bindings/lib/connector.h
index 808ab54bb474199ebc684ed28428fb5acc407bcd..4953e822be041f3569ebe24fa7393dbf84517188 100644
--- a/mojo/public/bindings/lib/connector.h
+++ b/mojo/public/bindings/lib/connector.h
@@ -42,15 +42,16 @@ class Connector : public MessageReceiver {
class Callback : public BindingsSupport::AsyncWaitCallback {
public:
Callback();
+ virtual ~Callback();
- void Cancel();
void SetOwnerToNotify(Connector* owner);
- bool IsPending() const;
+ void SetAsyncWaitID(BindingsSupport::AsyncWaitID async_wait_id);
virtual void OnHandleReady(MojoResult result) MOJO_OVERRIDE;
private:
Connector* owner_;
+ BindingsSupport::AsyncWaitID async_wait_id_;
};
friend class Callback;
@@ -69,6 +70,8 @@ class Connector : public MessageReceiver {
Callback write_callback_;
bool error_;
+
+ MOJO_DISALLOW_COPY_AND_ASSIGN(Connector);
};
} // namespace mojo
« no previous file with comments | « mojo/public/bindings/lib/bindings_support.h ('k') | mojo/public/bindings/lib/connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698