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/media/engine/fakewebrtccall.h

Issue 1748403002: Move RtcEventLog object from inside VoiceEngine to Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: More fixes for bots. Created 4 years, 8 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 const webrtc::PacketTime& packet_time) override; 232 const webrtc::PacketTime& packet_time) override;
233 233
234 webrtc::Call::Stats GetStats() const override; 234 webrtc::Call::Stats GetStats() const override;
235 235
236 void SetBitrateConfig( 236 void SetBitrateConfig(
237 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; 237 const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
238 void SignalChannelNetworkState(webrtc::MediaType media, 238 void SignalChannelNetworkState(webrtc::MediaType media,
239 webrtc::NetworkState state) override; 239 webrtc::NetworkState state) override;
240 void OnSentPacket(const rtc::SentPacket& sent_packet) override; 240 void OnSentPacket(const rtc::SentPacket& sent_packet) override;
241 241
242 bool StartEventLog(rtc::PlatformFile log_file,
243 int64_t max_size_bytes) override;
244 void StopEventLog() override;
245
242 webrtc::Call::Config config_; 246 webrtc::Call::Config config_;
243 webrtc::NetworkState audio_network_state_; 247 webrtc::NetworkState audio_network_state_;
244 webrtc::NetworkState video_network_state_; 248 webrtc::NetworkState video_network_state_;
245 rtc::SentPacket last_sent_packet_; 249 rtc::SentPacket last_sent_packet_;
246 webrtc::Call::Stats stats_; 250 webrtc::Call::Stats stats_;
247 std::vector<FakeVideoSendStream*> video_send_streams_; 251 std::vector<FakeVideoSendStream*> video_send_streams_;
248 std::vector<FakeAudioSendStream*> audio_send_streams_; 252 std::vector<FakeAudioSendStream*> audio_send_streams_;
249 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 253 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
250 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 254 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
251 255
252 int num_created_send_streams_; 256 int num_created_send_streams_;
253 int num_created_receive_streams_; 257 int num_created_receive_streams_;
254 }; 258 };
255 259
256 } // namespace cricket 260 } // namespace cricket
257 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ 261 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698