aboutsummaryrefslogtreecommitdiff
path: root/cast/streaming/offer_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'cast/streaming/offer_messages.h')
-rw-r--r--cast/streaming/offer_messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cast/streaming/offer_messages.h b/cast/streaming/offer_messages.h
index 80458954..30704112 100644
--- a/cast/streaming/offer_messages.h
+++ b/cast/streaming/offer_messages.h
@@ -100,6 +100,8 @@ struct VideoStream {
enum class CastMode : uint8_t { kMirroring, kRemoting };
struct Offer {
+ // TODO(jophba): remove deprecated declaration in a separate patch.
+ static Error Parse(const Json::Value& root, Offer* out);
static Error TryParse(const Json::Value& root, Offer* out);
Json::Value ToJson() const;
bool IsValid() const;