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

Unified Diff: webrtc/api/mediatypes.h

Issue 2675173003: Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc. (Closed)
Patch Set: Created 3 years, 10 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
Index: webrtc/api/mediatypes.h
diff --git a/webrtc/api/mediatypes.h b/webrtc/api/mediatypes.h
index 19acf4b94edd1a9d6d3dcdd408b0a70bb0040636..ded1c8861aa283c77749759ffb0765fd93dc89cd 100644
--- a/webrtc/api/mediatypes.h
+++ b/webrtc/api/mediatypes.h
@@ -22,6 +22,8 @@ enum MediaType {
};
std::string MediaTypeToString(MediaType type);
+// Crashes on invalid string.
+MediaType MediaTypeFromString(const std::string& type_str);
} // namespace cricket
« no previous file with comments | « webrtc/api/BUILD.gn ('k') | webrtc/api/mediatypes.cc » ('j') | webrtc/api/mediatypes.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698