SocketStreamEvent 38 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(EventType type, SocketStreamEvent 65 net/socket_stream/socket_stream_unittest.cc const base::Callback<int(SocketStreamEvent*)>& callback) { SocketStreamEvent 69 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { SocketStreamEvent 73 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { SocketStreamEvent 77 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { SocketStreamEvent 80 net/socket_stream/socket_stream_unittest.cc void SetOnClose(const base::Callback<void(SocketStreamEvent*)>& callback) { SocketStreamEvent 84 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { SocketStreamEvent 87 net/socket_stream/socket_stream_unittest.cc void SetOnError(const base::Callback<void(SocketStreamEvent*)>& callback) { SocketStreamEvent 96 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 105 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_CONNECTED, SocketStreamEvent 114 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_SENT_DATA, socket, SocketStreamEvent 122 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_RECEIVED_DATA, socket, len, SocketStreamEvent 129 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_CLOSE, socket, 0, SocketStreamEvent 139 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_AUTH_REQUIRED, socket, 0, SocketStreamEvent 146 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_ERROR, NULL, 0, SocketStreamEvent 154 net/socket_stream/socket_stream_unittest.cc void DoClose(SocketStreamEvent* event) { SocketStreamEvent 157 net/socket_stream/socket_stream_unittest.cc void DoRestartWithAuth(SocketStreamEvent* event) { SocketStreamEvent 171 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& GetSeenEvents() const { SocketStreamEvent 176 net/socket_stream/socket_stream_unittest.cc std::vector<SocketStreamEvent> events_; SocketStreamEvent 177 net/socket_stream/socket_stream_unittest.cc base::Callback<int(SocketStreamEvent*)> on_start_open_connection_; SocketStreamEvent 178 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_connected_; SocketStreamEvent 179 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_sent_data_; SocketStreamEvent 180 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_received_data_; SocketStreamEvent 181 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_close_; SocketStreamEvent 182 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_auth_required_; SocketStreamEvent 183 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_error_; SocketStreamEvent 300 net/socket_stream/socket_stream_unittest.cc virtual void DoSendWebSocketHandshake(SocketStreamEvent* event) { SocketStreamEvent 305 net/socket_stream/socket_stream_unittest.cc virtual void DoCloseFlushPendingWriteTest(SocketStreamEvent* event) { SocketStreamEvent 320 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent* event) { SocketStreamEvent 335 net/socket_stream/socket_stream_unittest.cc virtual void DoFailByTooBigDataAndClose(SocketStreamEvent* event) { SocketStreamEvent 342 net/socket_stream/socket_stream_unittest.cc virtual int DoSwitchToSpdyTest(SocketStreamEvent* event) { SocketStreamEvent 348 net/socket_stream/socket_stream_unittest.cc virtual int DoIOPending(SocketStreamEvent* event) { SocketStreamEvent 436 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 439 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 441 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); SocketStreamEvent 442 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[2].event_type); SocketStreamEvent 443 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_RECEIVED_DATA, events[3].event_type); SocketStreamEvent 444 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[4].event_type); SocketStreamEvent 445 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[5].event_type); SocketStreamEvent 446 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[6].event_type); SocketStreamEvent 477 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 480 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[0].event_type); SocketStreamEvent 481 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[1].event_type); SocketStreamEvent 510 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 513 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 515 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); SocketStreamEvent 516 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[2].event_type); SocketStreamEvent 517 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); SocketStreamEvent 579 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 582 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 584 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_AUTH_REQUIRED, events[1].event_type); SocketStreamEvent 585 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[2].event_type); SocketStreamEvent 586 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[3].event_type); SocketStreamEvent 588 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[4].event_type); SocketStreamEvent 640 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 642 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 644 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); SocketStreamEvent 646 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); SocketStreamEvent 697 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 699 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 701 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); SocketStreamEvent 703 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); SocketStreamEvent 759 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 762 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 764 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); SocketStreamEvent 765 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[2].event_type); SocketStreamEvent 766 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_RECEIVED_DATA, events[3].event_type); SocketStreamEvent 767 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[4].event_type); SocketStreamEvent 768 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[5].event_type); SocketStreamEvent 769 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[6].event_type); SocketStreamEvent 790 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 793 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 795 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[1].event_type); SocketStreamEvent 822 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 825 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 827 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[1].event_type); SocketStreamEvent 872 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 875 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 877 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[1].event_type); SocketStreamEvent 879 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[2].event_type); SocketStreamEvent 923 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 926 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 928 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); SocketStreamEvent 929 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[2].event_type); SocketStreamEvent 931 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); SocketStreamEvent 953 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 956 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[0].event_type); SocketStreamEvent 958 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[1].event_type); SocketStreamEvent 1033 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); SocketStreamEvent 1036 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_START_OPEN_CONNECTION, SocketStreamEvent 1038 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); SocketStreamEvent 1039 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[2].event_type); SocketStreamEvent 1040 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_RECEIVED_DATA, events[3].event_type); SocketStreamEvent 1041 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[4].event_type);