Cleanup: remove deprecated class shortcuts.
To be landed after 24th September. Bug: webrtc:9630 Change-Id: Ie61110357bbc6b6fc49ddf2bd5d74921e75a6e67 Reviewed-on: https://webrtc-review.googlesource.com/97041 Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24818}
This commit is contained in:
parent
17ad64e41f
commit
3a6b729a8e
@ -65,10 +65,6 @@ struct DefaultNetworkSimulationConfig {
|
||||
|
||||
class NetworkSimulationInterface {
|
||||
public:
|
||||
// DO NOT USE. Use DefaultNetworkSimulationConfig directly. This reference
|
||||
// should be removed when all users will be switched on direct usage.
|
||||
using SimulatedNetworkConfig = DefaultNetworkSimulationConfig;
|
||||
|
||||
virtual bool EnqueuePacket(PacketInFlightInfo packet_info) = 0;
|
||||
// Retrieves all packets that should be delivered by the given receive time.
|
||||
virtual std::vector<PacketDeliveryInfo> DequeueDeliverablePackets(
|
||||
|
||||
@ -90,8 +90,6 @@ class NetworkPacket {
|
||||
class FakeNetworkPipe : public webrtc::SimulatedPacketReceiverInterface,
|
||||
public Transport {
|
||||
public:
|
||||
using Config = NetworkSimulationInterface::SimulatedNetworkConfig;
|
||||
|
||||
// Will keep |network_simulation| alive while pipe is alive itself.
|
||||
// Use these constructors if you plan to insert packets using DeliverPacket().
|
||||
FakeNetworkPipe(
|
||||
@ -107,12 +105,6 @@ class FakeNetworkPipe : public webrtc::SimulatedPacketReceiverInterface,
|
||||
PacketReceiver* receiver,
|
||||
uint64_t seed);
|
||||
|
||||
// Deprecated. DO NOT USE. To be removed. Use corresponding version with
|
||||
// NetworkSimulationInterface instance instead.
|
||||
// Use this constructor if you plan to insert packets using SendRt[c?]p().
|
||||
FakeNetworkPipe(Clock* clock,
|
||||
const FakeNetworkPipe::Config& config,
|
||||
Transport* transport);
|
||||
// Use this constructor if you plan to insert packets using SendRt[c?]p().
|
||||
FakeNetworkPipe(
|
||||
Clock* clock,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user