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

Unified Diff: webrtc/modules/congestion_controller/BUILD.gn

Issue 2834663003: Allow mocking SendSideCongestionController for Call tests. (Closed)
Patch Set: Replace observer argument and add a motivating example for MockSendSideCC. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/congestion_controller/BUILD.gn
diff --git a/webrtc/modules/congestion_controller/BUILD.gn b/webrtc/modules/congestion_controller/BUILD.gn
index 3dcbb27b24067f49966b3a732da14acfff321199..2e5738e572722b33f0e247ed60331c1137dcf409 100644
--- a/webrtc/modules/congestion_controller/BUILD.gn
+++ b/webrtc/modules/congestion_controller/BUILD.gn
@@ -101,4 +101,15 @@ if (rtc_include_tests) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
+
+ rtc_source_set("mock_send_side_congestion_controller") {
+ testonly = true
+ sources = [
+ "include/mock/mock_send_side_congestion_controller.h",
+ ]
+ deps = [
+ ":congestion_controller",
+ "../../test:test_support",
+ ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698