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

Unified Diff: media/cast/rtp_common/rtp_defines.h

Issue 112133002: Cast:Moving netwrok sender related code to a designated folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moving const' to .cc Created 7 years 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/rtp_common/rtp_defines.h
diff --git a/media/cast/rtp_common/rtp_defines.h b/media/cast/rtp_common/rtp_defines.h
deleted file mode 100644
index b4bc1a204e954a210061639be1f4c6c125af946d..0000000000000000000000000000000000000000
--- a/media/cast/rtp_common/rtp_defines.h
+++ /dev/null
@@ -1,48 +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_RTP_COMMON_RTP_DEFINES_H_
-#define MEDIA_CAST_RTP_COMMON_RTP_DEFINES_H_
-
-#include "base/basictypes.h"
-#include "media/cast/cast_config.h"
-#include "media/cast/rtcp/rtcp_defines.h"
-#include "third_party/webrtc/modules/interface/module_common_types.h"
-
-namespace media {
-namespace cast {
-
-const uint8 kRtpMarkerBitMask = 0x80;
-
-struct RtpCastHeader {
- RtpCastHeader() {
- is_key_frame = false;
- frame_id = 0;
- packet_id = 0;
- max_packet_id = 0;
- is_reference = false;
- reference_frame_id = 0;
- }
- webrtc::WebRtcRTPHeader webrtc;
- bool is_key_frame;
- uint32 frame_id;
- uint16 packet_id;
- uint16 max_packet_id;
- bool is_reference; // Set to true if the previous frame is not available,
- // and the reference frame id is available.
- uint32 reference_frame_id;
-};
-
-class RtpPayloadFeedback {
- public:
- virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0;
-
- protected:
- virtual ~RtpPayloadFeedback() {}
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_RTP_COMMON_RTP_DEFINES_H_
« no previous file with comments | « media/cast/rtp_common/mock_rtp_payload_feedback.cc ('k') | media/cast/rtp_receiver/mock_rtp_payload_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698