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

Unified Diff: chrome/browser/media/cast_transport_host_filter.h

Issue 1515023002: Simplify interface for media/cast: CastTransportSenderImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/cast_transport_host_filter.h
diff --git a/chrome/browser/media/cast_transport_host_filter.h b/chrome/browser/media/cast_transport_host_filter.h
index 127e7d1c89d7bef5f980e028a8f0004eafd7aa35..2331e97172d5fa923b8257b5075e467206b1b00b 100644
--- a/chrome/browser/media/cast_transport_host_filter.h
+++ b/chrome/browser/media/cast_transport_host_filter.h
@@ -16,6 +16,7 @@
#include "media/cast/cast_sender.h"
#include "media/cast/logging/logging_defines.h"
#include "media/cast/net/cast_transport_sender.h"
+#include "media/cast/net/udp_transport.h"
namespace content {
class PowerSaveBlocker;
@@ -30,18 +31,13 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
private:
~CastTransportHostFilter() override;
- void NotifyStatusChange(int32_t channel_id,
- media::cast::CastTransportStatus result);
- void SendRawEvents(
- int32_t channel_id,
- scoped_ptr<std::vector<media::cast::FrameEvent>> frame_events,
- scoped_ptr<std::vector<media::cast::PacketEvent>> packet_events);
+ // Status callback to create UdpTransport.
+ void OnStatusChanged(int32_t channel_id,
+ media::cast::CastTransportStatus status);
void SendRtt(int32_t channel_id, uint32_t ssrc, base::TimeDelta rtt);
void SendCastMessage(int32_t channel_id,
uint32_t ssrc,
const media::cast::RtcpCastMessage& cast_message);
- void ReceivedPacket(int32_t channel_id,
- scoped_ptr<media::cast::Packet> packet);
// BrowserMessageFilter implementation.
bool OnMessageReceived(const IPC::Message& message) override;
« no previous file with comments | « no previous file | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698