#ifndef REMOTING_PROTOCOL_PORT_ALLOCATOR_FACTORY_H_
#define REMOTING_PROTOCOL_PORT_ALLOCATOR_FACTORY_H_
#include <memory>
#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
namespace cricket {
class PortAllocator;
}
namespace remoting::protocol {
class SessionOptionsProvider;
class TransportContext;
class PortAllocatorFactory {
public:
virtual ~PortAllocatorFactory() {}
virtual std::unique_ptr<cricket::PortAllocator> CreatePortAllocator(
scoped_refptr<TransportContext> transport_context,
base::WeakPtr<SessionOptionsProvider> session_options_provider) = 0;
};
}
#endif