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

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

Issue 2723533002: Remove unused include from rtc_event_log_parser.cc (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <utility> 19 #include <utility>
20 20
21 #include "webrtc/base/checks.h" 21 #include "webrtc/base/checks.h"
22 #include "webrtc/base/logging.h" 22 #include "webrtc/base/logging.h"
23 #include "webrtc/call/call.h" 23 #include "webrtc/call/call.h"
24 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 24 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
25 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 25 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
26 #include "webrtc/system_wrappers/include/file_wrapper.h"
27 26
28 namespace webrtc { 27 namespace webrtc {
29 28
30 namespace { 29 namespace {
31 MediaType GetRuntimeMediaType(rtclog::MediaType media_type) { 30 MediaType GetRuntimeMediaType(rtclog::MediaType media_type) {
32 switch (media_type) { 31 switch (media_type) {
33 case rtclog::MediaType::ANY: 32 case rtclog::MediaType::ANY:
34 return MediaType::ANY; 33 return MediaType::ANY;
35 case rtclog::MediaType::AUDIO: 34 case rtclog::MediaType::AUDIO:
36 return MediaType::AUDIO; 35 return MediaType::AUDIO;
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 if (ana_event.has_frame_length_ms()) 528 if (ana_event.has_frame_length_ms())
530 config->frame_length_ms = rtc::Optional<int>(ana_event.frame_length_ms()); 529 config->frame_length_ms = rtc::Optional<int>(ana_event.frame_length_ms());
531 if (ana_event.has_num_channels()) 530 if (ana_event.has_num_channels())
532 config->num_channels = rtc::Optional<size_t>(ana_event.num_channels()); 531 config->num_channels = rtc::Optional<size_t>(ana_event.num_channels());
533 if (ana_event.has_uplink_packet_loss_fraction()) 532 if (ana_event.has_uplink_packet_loss_fraction())
534 config->uplink_packet_loss_fraction = 533 config->uplink_packet_loss_fraction =
535 rtc::Optional<float>(ana_event.uplink_packet_loss_fraction()); 534 rtc::Optional<float>(ana_event.uplink_packet_loss_fraction());
536 } 535 }
537 536
538 } // namespace webrtc 537 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698