#ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_CONSTRAINT_H_
#define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_CONSTRAINT_H_
#include <string>
#include <vector>
#include "third_party/WebKit/public/platform/WebMediaConstraints.h"
namespace content {
class MockMediaConstraintFactory {
public:
MockMediaConstraintFactory();
~MockMediaConstraintFactory();
blink::WebMediaConstraints CreateWebMediaConstraints();
void AddMandatory(const std::string& key, int value);
void AddMandatory(const std::string& key, double value);
void AddOptional(const std::string& key, int value);
void AddOptional(const std::string& key, double value);
void DisableDefaultAudioConstraints();
private:
std::vector<blink::WebMediaConstraint> mandatory_;
std::vector<blink::WebMediaConstraint> optional_;
};
}
#endif