1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-08 09:42:06 +03:00

Rename ConnectionCallbackNew back to ConnectionCallback

Summary: Rename ConnectionCallbackNew back to ConnectionCallback

Reviewed By: mjoras

Differential Revision: D33979956

fbshipit-source-id: 6c133a406c4bf6799838ffc36701267a938cb4a3
This commit is contained in:
Konstantin Tsoy
2022-02-23 12:57:31 -08:00
committed by Facebook GitHub Bot
parent 7142abb164
commit a70ffbeb29
24 changed files with 59 additions and 60 deletions

View File

@@ -199,10 +199,10 @@ class TestQuicTransport
folly::EventBase* evb,
std::unique_ptr<folly::AsyncUDPSocket> socket,
ConnectionSetupCallback* connSetupCb,
ConnectionCallbackNew* connCb)
ConnectionCallback* connCb)
: QuicTransportBase(evb, std::move(socket)) {
setConnectionSetupCallback(connSetupCb);
setConnectionCallbackNew(connCb);
setConnectionCallback(connCb);
auto conn = std::make_unique<QuicServerConnectionState>(
FizzServerQuicHandshakeContext::Builder().build());
conn->clientConnectionId = ConnectionId({10, 9, 8, 7});
@@ -533,7 +533,7 @@ class QuicTransportImplTest : public Test {
protected:
std::unique_ptr<folly::EventBase> evb;
NiceMock<MockConnectionSetupCallback> connSetupCallback;
NiceMock<MockConnectionCallbackNew> connCallback;
NiceMock<MockConnectionCallback> connCallback;
TestByteEventCallback byteEventCallback;
std::shared_ptr<TestQuicTransport> transport;
folly::test::MockAsyncUDPSocket* socketPtr;