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

Unified Diff: content/renderer/media/mock_constraint_factory.cc

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 years, 9 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: content/renderer/media/mock_constraint_factory.cc
diff --git a/content/renderer/media/mock_constraint_factory.cc b/content/renderer/media/mock_constraint_factory.cc
index f271816f43e839c8feccd6fe1d1c2d1cd94205e5..133c63aca977e99d5c44bdf734e0e1c510e81d69 100644
--- a/content/renderer/media/mock_constraint_factory.cc
+++ b/content/renderer/media/mock_constraint_factory.cc
@@ -42,4 +42,9 @@ void MockConstraintFactory::DisableDefaultAudioConstraints() {
basic_.googBeamforming.setExact(false);
}
+void MockConstraintFactory::Reset() {
+ basic_ = blink::WebMediaTrackConstraintSet();
+ advanced_.clear();
+}
+
} // namespace content
« no previous file with comments | « content/renderer/media/mock_constraint_factory.h ('k') | content/renderer/media/mock_media_constraint_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698