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

Unified Diff: media/cast/cast_config.h

Issue 901833004: [Cast] Repurpose CastInitializationStatus for variable frame size support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fixes. Created 5 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: 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>)>

Powered by Google App Engine
This is Rietveld 408576698