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

Unified Diff: chrome/renderer/media/cast_session.h

Issue 138753004: Cast: IPC glue between cast library transport and encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: works Created 6 years, 11 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: chrome/renderer/media/cast_session.h
diff --git a/chrome/renderer/media/cast_session.h b/chrome/renderer/media/cast_session.h
index aa2da78bae283b30a01afaed8cacea44b3d172d7..440d6f77bddb14d7810cc2df4df2fedbb9e4b1e0 100644
--- a/chrome/renderer/media/cast_session.h
+++ b/chrome/renderer/media/cast_session.h
@@ -32,6 +32,10 @@ class P2PSocketClient;
class CastSessionDelegate;
+namespace cast{
+class CastIPCDispatcher;
+};
+
// This class represents a Cast session and allows the session to be
// configured on the main thread. Actual work is forwarded to
// CastSessionDelegate on the IO thread.
@@ -53,6 +57,8 @@ class CastSession : public base::RefCounted<CastSession> {
const FrameInputAvailableCallback& callback);
void StartVideo(const media::cast::VideoSenderConfig& config,
const FrameInputAvailableCallback& callback);
+ void StartUDP(const net::IPEndPoint& local_endpoint,
+ const net::IPEndPoint& remote_endpoint);
private:
friend class base::RefCounted<CastSession>;

Powered by Google App Engine
This is Rietveld 408576698