| Index: components/cast_channel/cast_socket_service.h
|
| diff --git a/components/cast_channel/cast_socket_service.h b/components/cast_channel/cast_socket_service.h
|
| index bb465e920dc1f654035c25d6705c8136ceb391f3..eea0aee1e190b259bbc1b84e06dfa8d8c9ffe439 100644
|
| --- a/components/cast_channel/cast_socket_service.h
|
| +++ b/components/cast_channel/cast_socket_service.h
|
| @@ -37,7 +37,7 @@
|
|
|
| // Returns the socket corresponding to |channel_id| if one exists, or nullptr
|
| // otherwise.
|
| - virtual CastSocket* GetSocket(int channel_id) const;
|
| + CastSocket* GetSocket(int channel_id) const;
|
|
|
| CastSocket* GetSocket(const net::IPEndPoint& ip_endpoint) const;
|
|
|
| @@ -72,10 +72,10 @@
|
| // |open_cb|: OnOpenCallback invoked when cast socket is opened.
|
| // |observer|: Observer handles messages and errors on newly opened socket.
|
| // Does not take ownership of |observer|.
|
| - virtual int OpenSocket(const net::IPEndPoint& ip_endpoint,
|
| - net::NetLog* net_log,
|
| - const CastSocket::OnOpenCallback& open_cb,
|
| - CastSocket::Observer* observer);
|
| + int OpenSocket(const net::IPEndPoint& ip_endpoint,
|
| + net::NetLog* net_log,
|
| + const CastSocket::OnOpenCallback& open_cb,
|
| + CastSocket::Observer* observer);
|
|
|
| // Returns an observer corresponding to |id|.
|
| CastSocket::Observer* GetObserver(const std::string& id);
|
| @@ -89,10 +89,9 @@
|
| // Allow test to inject a mock cast socket.
|
| void SetSocketForTest(std::unique_ptr<CastSocket> socket_for_test);
|
|
|
| - protected:
|
| + private:
|
| ~CastSocketService() override;
|
|
|
| - private:
|
| // RefcountedKeyedService implementation.
|
| void ShutdownOnUIThread() override;
|
|
|
|
|