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

Unified Diff: components/cast_channel/cast_channel_enum.cc

Issue 2942743002: [cast_channel] Clean up CastSocketImpl ctor parameters (Closed)
Patch Set: fix compile error Created 3 years, 6 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 | « components/cast_channel/cast_channel_enum.h ('k') | components/cast_channel/cast_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/cast_channel_enum.cc
diff --git a/components/cast_channel/cast_channel_enum.cc b/components/cast_channel/cast_channel_enum.cc
index 9e426adc148127d7ec7bafd184bd4bdf767878f1..ac9e13201342a22fb26d76ce1e2c8f2123a22afb 100644
--- a/components/cast_channel/cast_channel_enum.cc
+++ b/components/cast_channel/cast_channel_enum.cc
@@ -43,14 +43,4 @@ std::string ChannelErrorToString(ChannelError channel_error) {
return "Unknown channel_error";
}
-std::string ChannelAuthTypeToString(ChannelAuthType channel_auth) {
- switch (channel_auth) {
- CAST_CHANNEL_TYPE_TO_STRING(ChannelAuthType::NONE);
- CAST_CHANNEL_TYPE_TO_STRING(ChannelAuthType::SSL_VERIFIED);
- }
- NOTREACHED() << "Unknown channel_auth "
- << ChannelAuthTypeToString(channel_auth);
- return "Unknown channel_auth";
-}
-
} // namespace cast_channel
« no previous file with comments | « components/cast_channel/cast_channel_enum.h ('k') | components/cast_channel/cast_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698