Lines Matching refs:ProtocolConnection
35 std::unique_ptr<ProtocolConnection> connection) override { in OnConnectionOpened()
42 class MockConnectionObserver final : public ProtocolConnection::Observer {
46 MOCK_METHOD1(OnConnectionClosed, void(const ProtocolConnection& connection));
60 std::unique_ptr<ProtocolConnection> ExpectIncomingConnection() { in ExpectIncomingConnection()
64 std::unique_ptr<ProtocolConnection> stream; in ExpectIncomingConnection()
68 Invoke([&stream](std::unique_ptr<ProtocolConnection>& connection) { in ExpectIncomingConnection()
84 void SendTestMessage(ProtocolConnection* connection) { in SendTestMessage()
134 std::unique_ptr<ProtocolConnection> connection = ExpectIncomingConnection(); in TEST_F()
145 std::unique_ptr<ProtocolConnection> connection1 = ExpectIncomingConnection(); in TEST_F()
148 std::unique_ptr<ProtocolConnection> connection2 = in TEST_F()
162 std::unique_ptr<ProtocolConnection> connection = ExpectIncomingConnection(); in TEST_F()
193 std::unique_ptr<ProtocolConnection> connection = ExpectIncomingConnection(); in TEST_F()