Lines Matching defs:MockConnect
60 struct MockConnect {
62 // Creates a MockConnect with |mode| ASYC, |result| OK, and
64 MockConnect();
65 // Creates a MockConnect with the specified mode and result, with
67 MockConnect(IoMode io_mode, int r);
68 MockConnect(IoMode io_mode, int r, IPEndPoint addr);
69 ~MockConnect();
214 MockConnect connect_data() const { return connect_; }
215 void set_connect_data(const MockConnect& connect) { connect_ = connect; }
218 MockConnect connect_;
234 virtual void OnConnectComplete(const MockConnect& data) = 0;
326 MockConnect connect;
368 DelayedSocketData(const MockConnect& connect,
423 OrderedSocketData(const MockConnect& connect,
773 virtual void OnConnectComplete(const MockConnect& data) OVERRIDE;
883 virtual void OnConnectComplete(const MockConnect& data) OVERRIDE;
933 virtual void OnConnectComplete(const MockConnect& data) OVERRIDE;
980 virtual void OnConnectComplete(const MockConnect& data) OVERRIDE;
1054 virtual void OnConnectComplete(const MockConnect& data) OVERRIDE;