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

Unified Diff: talk/media/webrtc/fakewebrtccall.h

Issue 1411083006: Revert of Implement AudioReceiveStream::GetStats(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | talk/media/webrtc/fakewebrtccall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/webrtc/fakewebrtccall.h
diff --git a/talk/media/webrtc/fakewebrtccall.h b/talk/media/webrtc/fakewebrtccall.h
index 0ec854f9fc700a2ee45bbc84f31f027e6c71138c..fb271f22154a09f2ed6e66b2f94ff73feebc0a4d 100644
--- a/talk/media/webrtc/fakewebrtccall.h
+++ b/talk/media/webrtc/fakewebrtccall.h
@@ -42,8 +42,11 @@
explicit FakeAudioReceiveStream(
const webrtc::AudioReceiveStream::Config& config);
+ // webrtc::AudioReceiveStream implementation.
+ webrtc::AudioReceiveStream::Stats GetStats() const override;
+
const webrtc::AudioReceiveStream::Config& GetConfig() const;
- void SetStats(const webrtc::AudioReceiveStream::Stats& stats);
+
int received_packets() const { return received_packets_; }
void IncrementReceivedPackets();
@@ -61,13 +64,7 @@
return true;
}
- // webrtc::AudioReceiveStream implementation.
- webrtc::AudioReceiveStream::Stats GetStats() const override {
- return stats_;
- }
-
webrtc::AudioReceiveStream::Config config_;
- webrtc::AudioReceiveStream::Stats stats_;
int received_packets_;
};
« no previous file with comments | « no previous file | talk/media/webrtc/fakewebrtccall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698