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 |