Lines Matching refs:ProtocolConnection
29 class MockConnectionObserver final : public ProtocolConnection::Observer {
33 MOCK_METHOD1(OnConnectionClosed, void(const ProtocolConnection& connection));
39 explicit ConnectionCallback(std::unique_ptr<ProtocolConnection>* connection) in ConnectionCallback()
45 std::unique_ptr<ProtocolConnection> connection) override { in OnConnectionOpened()
57 std::unique_ptr<ProtocolConnection>* const connection_;
80 void SendTestMessage(ProtocolConnection* connection) { in SendTestMessage()
133 std::unique_ptr<ProtocolConnection> connection; in TEST_F()
150 std::unique_ptr<ProtocolConnection> connection1; in TEST_F()
157 std::unique_ptr<ProtocolConnection> connection2; in TEST_F()
175 std::unique_ptr<ProtocolConnection> connection1; in TEST_F()
176 std::unique_ptr<ProtocolConnection> connection2; in TEST_F()
202 std::unique_ptr<ProtocolConnection> connection1; in TEST_F()
207 std::unique_ptr<ProtocolConnection> connection2 = in TEST_F()
245 .WillOnce(Invoke([](std::unique_ptr<ProtocolConnection>& connection) { in TEST_F()
248 std::unique_ptr<ProtocolConnection> connection; in TEST_F()