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

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: sorted deps Created 6 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: chrome/renderer/media/cast_session.h
diff --git a/chrome/renderer/media/cast_session.h b/chrome/renderer/media/cast_session.h
index aa2da78bae283b30a01afaed8cacea44b3d172d7..ef8ba44557ca09f6b98b001994dd7e49a908bb18 100644
--- a/chrome/renderer/media/cast_session.h
+++ b/chrome/renderer/media/cast_session.h
@@ -26,12 +26,16 @@ struct VideoSenderConfig;
} // namespace cast
} // namespace media
-namespace content{
+namespace content {
class P2PSocketClient;
} // namespace content
class CastSessionDelegate;
+namespace cast {
+class CastIPCDispatcher;
acolwell GONE FROM CHROMIUM 2014/02/11 00:57:38 remove. It doesn't look like this is necessary
hubbe 2014/02/12 00:54:24 Gone.
+}
+
// 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