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

Unified Diff: webrtc/call/mock/mock_congestion_controller.h

Issue 1718473002: Move congestion controller to a separate module. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add presubmit Created 4 years, 10 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 | « webrtc/call/congestion_controller.cc ('k') | webrtc/call/webrtc_call.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/mock/mock_congestion_controller.h
diff --git a/webrtc/call/mock/mock_congestion_controller.h b/webrtc/call/mock/mock_congestion_controller.h
deleted file mode 100644
index 08b12a4bdcc539cd94f4e2b4537fb2577ab805f9..0000000000000000000000000000000000000000
--- a/webrtc/call/mock/mock_congestion_controller.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_CALL_MOCK_MOCK_CONGESTION_CONTROLLER_H_
-#define WEBRTC_CALL_MOCK_MOCK_CONGESTION_CONTROLLER_H_
-
-#include "testing/gmock/include/gmock/gmock.h"
-#include "webrtc/base/socket.h"
-#include "webrtc/call/congestion_controller.h"
-
-namespace webrtc {
-namespace test {
-
-class MockCongestionController : public CongestionController {
- public:
- MockCongestionController(Clock* clock,
- BitrateObserver* bitrate_observer,
- RemoteBitrateObserver* remote_bitrate_observer)
- : CongestionController(clock,
- bitrate_observer,
- remote_bitrate_observer) {}
- MOCK_METHOD3(SetBweBitrates,
- void(int min_bitrate_bps,
- int start_bitrate_bps,
- int max_bitrate_bps));
- MOCK_METHOD1(SignalNetworkState, void(NetworkState state));
- MOCK_CONST_METHOD0(GetBitrateController, BitrateController*());
- MOCK_METHOD1(GetRemoteBitrateEstimator,
- RemoteBitrateEstimator*(bool send_side_bwe));
- MOCK_CONST_METHOD0(GetPacerQueuingDelayMs, int64_t());
- MOCK_METHOD0(pacer, PacedSender*());
- MOCK_METHOD0(packet_router, PacketRouter*());
- MOCK_METHOD0(GetTransportFeedbackObserver, TransportFeedbackObserver*());
- MOCK_METHOD3(UpdatePacerBitrate,
- void(int bitrate_kbps,
- int max_bitrate_kbps,
- int min_bitrate_kbps));
- MOCK_METHOD1(OnSentPacket, void(const rtc::SentPacket& sent_packet));
-
- RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(MockCongestionController);
-};
-} // namespace test
-} // namespace webrtc
-#endif // WEBRTC_CALL_MOCK_MOCK_CONGESTION_CONTROLLER_H_
« no previous file with comments | « webrtc/call/congestion_controller.cc ('k') | webrtc/call/webrtc_call.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698