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

Side by Side Diff: media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/rtcp/receiver_rtcp_event_subscriber.h" 5 #include "media/cast/net/rtcp/receiver_rtcp_event_subscriber.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace media { 9 namespace media {
10 namespace cast { 10 namespace cast {
11 11
12 ReceiverRtcpEventSubscriber::ReceiverRtcpEventSubscriber( 12 ReceiverRtcpEventSubscriber::ReceiverRtcpEventSubscriber(
13 const size_t max_size_to_retain, EventMediaType type) 13 const size_t max_size_to_retain, EventMediaType type)
14 : max_size_to_retain_(max_size_to_retain), type_(type) { 14 : max_size_to_retain_(max_size_to_retain), type_(type) {
15 DCHECK(max_size_to_retain_ > 0u); 15 DCHECK(max_size_to_retain_ > 0u);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 bool ReceiverRtcpEventSubscriber::ShouldProcessEvent( 88 bool ReceiverRtcpEventSubscriber::ShouldProcessEvent(
89 CastLoggingEvent event_type, EventMediaType event_media_type) { 89 CastLoggingEvent event_type, EventMediaType event_media_type) {
90 return type_ == event_media_type && 90 return type_ == event_media_type &&
91 (event_type == FRAME_ACK_SENT || event_type == FRAME_DECODED || 91 (event_type == FRAME_ACK_SENT || event_type == FRAME_DECODED ||
92 event_type == FRAME_PLAYOUT || event_type == PACKET_RECEIVED); 92 event_type == FRAME_PLAYOUT || event_type == PACKET_RECEIVED);
93 } 93 }
94 94
95 } // namespace cast 95 } // namespace cast
96 } // namespace media 96 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/net/rtcp/receiver_rtcp_event_subscriber.h ('k') | media/cast/net/rtcp/receiver_rtcp_event_subscriber_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698