Remove ignored return code from modules.

ModuleProcessImpl doesn't act on return codes and having them around is
confusing (it's unclear what an error return code here would do even).

BUG=
R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/1703833002 .

Cr-Commit-Position: refs/heads/master@{#11747}
This commit is contained in:
Peter Boström
2016-02-24 16:51:18 +01:00
parent 985177c757
commit f14c47a58c
66 changed files with 140 additions and 192 deletions

View File

@ -53,9 +53,9 @@ class WrappingBitrateEstimator : public RemoteBitrateEstimator {
rbe_->IncomingPacket(arrival_time_ms, payload_size, header, was_paced);
}
int32_t Process() override {
void Process() override {
CriticalSectionScoped cs(crit_sect_.get());
return rbe_->Process();
rbe_->Process();
}
int64_t TimeUntilNextProcess() override {
@ -241,10 +241,9 @@ int64_t CongestionController::TimeUntilNextProcess() {
remote_bitrate_estimator_->TimeUntilNextProcess());
}
int32_t CongestionController::Process() {
void CongestionController::Process() {
bitrate_controller_->Process();
remote_bitrate_estimator_->Process();
return 0;
}
} // namespace webrtc

View File

@ -65,7 +65,7 @@ class CongestionController : public CallStatsObserver, public Module {
// Implements Module.
int64_t TimeUntilNextProcess() override;
int32_t Process() override;
void Process() override;
private:
Clock* const clock_;