Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: components/cast_channel/cast_socket_service.h

Issue 2973983002: Revert of [Media Router] Add CastMediaSinkService (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698