| Index: webrtc/api/mediaconstraintsinterface.h
|
| diff --git a/webrtc/api/mediaconstraintsinterface.h b/webrtc/api/mediaconstraintsinterface.h
|
| index 0c251f879387c7189120e6cb3601e5e42232dc12..b615c2eb9949c28a424518f1ea82ded9490f6d17 100644
|
| --- a/webrtc/api/mediaconstraintsinterface.h
|
| +++ b/webrtc/api/mediaconstraintsinterface.h
|
| @@ -19,6 +19,8 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "webrtc/base/optional.h"
|
| +
|
| namespace webrtc {
|
|
|
| // MediaConstraintsInterface
|
| @@ -118,6 +120,18 @@ bool FindConstraint(const MediaConstraintsInterface* constraints,
|
| const std::string& key, bool* value,
|
| size_t* mandatory_constraints);
|
|
|
| +bool FindConstraint(const MediaConstraintsInterface* constraints,
|
| + const std::string& key,
|
| + int* value,
|
| + size_t* mandatory_constraints);
|
| +
|
| +rtc::Optional<bool> ConstraintToOptionalBool(
|
| + const MediaConstraintsInterface* constraints,
|
| + const std::string& key);
|
| +rtc::Optional<int> ConstraintToOptionalInt(
|
| + const MediaConstraintsInterface* constraints,
|
| + const std::string& key);
|
| +
|
| } // namespace webrtc
|
|
|
| #endif // WEBRTC_API_MEDIACONSTRAINTSINTERFACE_H_
|
|
|