Index: media/cast/cast_config.h |
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h |
index f22f1d06756fb8bf9a9281de817e411518f0ec66..89af430a056b4313daaf5aa22bbacb4dc72160a3 100644 |
--- a/media/cast/cast_config.h |
+++ b/media/cast/cast_config.h |
@@ -176,8 +176,11 @@ struct FrameReceiverConfig { |
typedef Packet Packet; |
typedef PacketList PacketList; |
-typedef base::Callback<void(CastInitializationStatus)> |
- CastInitializationCallback; |
+// Callback that is run to update the client with current status. This is used |
+// to allow the client to wait for asynchronous initialization to complete |
+// before sending frames, and also to be notified of any runtime errors that |
+// have halted the session. |
+typedef base::Callback<void(OperationalStatus)> StatusChangeCallback; |
typedef base::Callback<void(scoped_refptr<base::SingleThreadTaskRunner>, |
scoped_ptr<media::VideoEncodeAccelerator>)> |