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

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

Issue 69283002: Revert "Mojo: Add BindingsSupportImpl on top of HandleWatcher" (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 4953e822be041f3569ebe24fa7393dbf84517188..808ab54bb474199ebc684ed28428fb5acc407bcd 100644
--- a/mojo/public/bindings/lib/connector.h
+++ b/mojo/public/bindings/lib/connector.h
@@ -42,16 +42,15 @@ class Connector : public MessageReceiver {
class Callback : public BindingsSupport::AsyncWaitCallback {
public:
Callback();
- virtual ~Callback();
+ void Cancel();
void SetOwnerToNotify(Connector* owner);
- void SetAsyncWaitID(BindingsSupport::AsyncWaitID async_wait_id);
+ bool IsPending() const;
virtual void OnHandleReady(MojoResult result) MOJO_OVERRIDE;
private:
Connector* owner_;
- BindingsSupport::AsyncWaitID async_wait_id_;
};
friend class Callback;
@@ -70,8 +69,6 @@ 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