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

Issue 2353033005: Refactoring: move ownership of RtcEventLog from Call to PeerConnection (Closed)
Patch Set: Moved the constructor Created 4 years, 2 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 | « webrtc/media/base/videoengine_unittest.h ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | 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) 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 webrtc::Call::Stats GetStats() const override; 238 webrtc::Call::Stats GetStats() const override;
239 239
240 void SetBitrateConfig( 240 void SetBitrateConfig(
241 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; 241 const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
242 void OnNetworkRouteChanged(const std::string& transport_name, 242 void OnNetworkRouteChanged(const std::string& transport_name,
243 const rtc::NetworkRoute& network_route) override {} 243 const rtc::NetworkRoute& network_route) override {}
244 void SignalChannelNetworkState(webrtc::MediaType media, 244 void SignalChannelNetworkState(webrtc::MediaType media,
245 webrtc::NetworkState state) override; 245 webrtc::NetworkState state) override;
246 void OnSentPacket(const rtc::SentPacket& sent_packet) override; 246 void OnSentPacket(const rtc::SentPacket& sent_packet) override;
247 247
248 bool StartEventLog(rtc::PlatformFile log_file,
249 int64_t max_size_bytes) override;
250 void StopEventLog() override;
251
252 webrtc::Call::Config config_; 248 webrtc::Call::Config config_;
253 webrtc::NetworkState audio_network_state_; 249 webrtc::NetworkState audio_network_state_;
254 webrtc::NetworkState video_network_state_; 250 webrtc::NetworkState video_network_state_;
255 rtc::SentPacket last_sent_packet_; 251 rtc::SentPacket last_sent_packet_;
256 int last_sent_nonnegative_packet_id_ = -1; 252 int last_sent_nonnegative_packet_id_ = -1;
257 webrtc::Call::Stats stats_; 253 webrtc::Call::Stats stats_;
258 std::vector<FakeVideoSendStream*> video_send_streams_; 254 std::vector<FakeVideoSendStream*> video_send_streams_;
259 std::vector<FakeAudioSendStream*> audio_send_streams_; 255 std::vector<FakeAudioSendStream*> audio_send_streams_;
260 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 256 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
261 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 257 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
262 258
263 int num_created_send_streams_; 259 int num_created_send_streams_;
264 int num_created_receive_streams_; 260 int num_created_receive_streams_;
265 }; 261 };
266 262
267 } // namespace cricket 263 } // namespace cricket
268 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 264 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW
« no previous file with comments | « webrtc/media/base/videoengine_unittest.h ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698