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

Unified Diff: media/cast/net/rtcp/rtcp_builder.h

Issue 387933005: Cast: Refactor RTCP handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: smaller diff Created 6 years, 5 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/net/rtcp/rtcp_builder.h
diff --git a/media/cast/net/rtcp/rtcp_builder.h b/media/cast/net/rtcp/rtcp_builder.h
deleted file mode 100644
index 9f1f7a9a0dd0594f80cf7a617168766ac174daf7..0000000000000000000000000000000000000000
--- a/media/cast/net/rtcp/rtcp_builder.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_CAST_NET_RTCP_RTCP_BUILDER_H_
-#define MEDIA_CAST_NET_RTCP_RTCP_BUILDER_H_
-
-#include <list>
-#include <string>
-#include <vector>
-
-#include "media/cast/net/cast_transport_defines.h"
-#include "media/cast/net/pacing/paced_sender.h"
-
-namespace media {
-namespace cast {
-
-class RtcpBuilder {
- public:
- explicit RtcpBuilder(PacedSender* const paced_packet_sender);
-
- virtual ~RtcpBuilder();
-
- void SendRtcpFromRtpSender(uint32 packet_type_flags,
- const RtcpSenderInfo& sender_info,
- const RtcpDlrrReportBlock& dlrr,
- uint32 ssrc,
- const std::string& c_name);
-
- private:
- bool BuildSR(const RtcpSenderInfo& sender_info, Packet* packet) const;
- bool BuildSdec(Packet* packet) const;
- bool BuildBye(Packet* packet) const;
- bool BuildDlrrRb(const RtcpDlrrReportBlock& dlrr,
- Packet* packet) const;
-
- PacedSender* const transport_; // Not owned by this class.
- uint32 ssrc_;
- std::string c_name_;
-
- DISALLOW_COPY_AND_ASSIGN(RtcpBuilder);
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_NET_RTCP_RTCP_BUILDER_H_

Powered by Google App Engine
This is Rietveld 408576698