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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log_parser.cc

Issue 3012233002: Remove #include of rtc_stream_config.h from rtc_event_log.h (Closed)
Patch Set: Rebased Created 3 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" 11 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h"
12 12
13 #include <stdint.h> 13 #include <stdint.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include <algorithm> 16 #include <algorithm>
17 #include <fstream> 17 #include <fstream>
18 #include <istream> 18 #include <istream>
19 #include <map> 19 #include <map>
20 #include <utility> 20 #include <utility>
21 21
22 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 22 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
23 #include "webrtc/logging/rtc_event_log/rtc_stream_config.h"
23 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ k_adaptor.h" 24 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ k_adaptor.h"
24 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" 25 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h"
25 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 26 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
26 #include "webrtc/rtc_base/checks.h" 27 #include "webrtc/rtc_base/checks.h"
27 #include "webrtc/rtc_base/logging.h" 28 #include "webrtc/rtc_base/logging.h"
28 #include "webrtc/rtc_base/protobuf_utils.h" 29 #include "webrtc/rtc_base/protobuf_utils.h"
29 30
30 namespace webrtc { 31 namespace webrtc {
31 32
32 namespace { 33 namespace {
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 ParsedRtcEventLog::MediaType ParsedRtcEventLog::GetMediaType( 649 ParsedRtcEventLog::MediaType ParsedRtcEventLog::GetMediaType(
649 uint32_t ssrc, 650 uint32_t ssrc,
650 PacketDirection direction) const { 651 PacketDirection direction) const {
651 for (auto rit = streams_.rbegin(); rit != streams_.rend(); ++rit) { 652 for (auto rit = streams_.rbegin(); rit != streams_.rend(); ++rit) {
652 if (rit->ssrc == ssrc && rit->direction == direction) 653 if (rit->ssrc == ssrc && rit->direction == direction)
653 return rit->media_type; 654 return rit->media_type;
654 } 655 }
655 return MediaType::ANY; 656 return MediaType::ANY;
656 } 657 }
657 } // namespace webrtc 658 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log_parser.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698