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

Unified Diff: content/renderer/media/mock_media_constraint_factory.h

Issue 227743004: Added a kEchoCancellation constraint to turn off the audio processing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: moved some of the constraints code to MediaAudioConstraints class, and hope it makes the code more … Created 6 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: content/renderer/media/mock_media_constraint_factory.h
diff --git a/content/renderer/media/mock_media_constraint_factory.h b/content/renderer/media/mock_media_constraint_factory.h
index 6eb261a42f71afde5123ac39272761f88607cfe5..5c9f7f533c913d91b591366200ad072b0a0074e6 100644
--- a/content/renderer/media/mock_media_constraint_factory.h
+++ b/content/renderer/media/mock_media_constraint_factory.h
@@ -20,8 +20,10 @@ class MockMediaConstraintFactory {
blink::WebMediaConstraints CreateWebMediaConstraints();
void AddMandatory(const std::string& key, int value);
void AddMandatory(const std::string& key, double value);
+ void AddMandatory(const std::string& key, const std::string& value);
void AddOptional(const std::string& key, int value);
void AddOptional(const std::string& key, double value);
+ void AddOptional(const std::string& key, const std::string& value);
void DisableDefaultAudioConstraints();
private:

Powered by Google App Engine
This is Rietveld 408576698