| Index: webrtc/p2p/base/port.h
|
| diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
|
| index 01c45f26d8691303378766258c99cc7fefdde621..74b7931323447f5c7dab6263c9e3d3b7bc88aacc 100644
|
| --- a/webrtc/p2p/base/port.h
|
| +++ b/webrtc/p2p/base/port.h
|
| @@ -625,20 +625,22 @@ class Connection : public rtc::MessageHandler,
|
| uint32_t time_created_ms_;
|
|
|
| friend class Port;
|
| + friend class TurnPort;
|
| friend class ConnectionRequest;
|
| };
|
|
|
| -// ProxyConnection defers all the interesting work to the port
|
| +// ProxyConnection defers all the interesting work to the port.
|
| class ProxyConnection : public Connection {
|
| public:
|
| - ProxyConnection(Port* port, size_t index, const Candidate& candidate);
|
| + ProxyConnection(Port* port, size_t index, const Candidate& remote_candidate);
|
|
|
| - virtual int Send(const void* data, size_t size,
|
| - const rtc::PacketOptions& options);
|
| - virtual int GetError() { return error_; }
|
| + int Send(const void* data,
|
| + size_t size,
|
| + const rtc::PacketOptions& options) override;
|
| + int GetError() override { return error_; }
|
|
|
| private:
|
| - int error_;
|
| + int error_ = 0;
|
| };
|
|
|
| } // namespace cricket
|
|
|