| Index: third_party/WebKit/public/platform/WebMediaConstraints.h
|
| diff --git a/third_party/WebKit/public/platform/WebMediaConstraints.h b/third_party/WebKit/public/platform/WebMediaConstraints.h
|
| index 7d8cbf213479635d50e60358f36b8a64f91c8d01..78692872888e4dad88d307335cf488856d644e0e 100644
|
| --- a/third_party/WebKit/public/platform/WebMediaConstraints.h
|
| +++ b/third_party/WebKit/public/platform/WebMediaConstraints.h
|
| @@ -31,14 +31,15 @@
|
| #ifndef WebMediaConstraints_h
|
| #define WebMediaConstraints_h
|
|
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| #include "WebCommon.h"
|
| #include "WebNonCopyable.h"
|
| #include "WebPrivatePtr.h"
|
| #include "WebString.h"
|
| #include "WebVector.h"
|
|
|
| -#include <vector>
|
| -
|
| namespace blink {
|
|
|
| class WebMediaConstraintsPrivate;
|
| @@ -167,6 +168,8 @@ class BLINK_PLATFORM_EXPORT StringConstraint : public BaseConstraint {
|
|
|
| void SetExact(const WebVector<WebString>& exact) { exact_.Assign(exact); }
|
|
|
| + void SetIdeal(const WebString& ideal) { ideal_.Assign(&ideal, 1); }
|
| +
|
| void SetIdeal(const WebVector<WebString>& ideal) { ideal_.Assign(ideal); }
|
|
|
| bool Matches(WebString value) const;
|
|
|