Chromium Code Reviews| Index: third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.h |
| diff --git a/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.h b/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.h |
| index 02c46a2b61eefead6b1326812e59df98efd591c2..47d567efe7f9edd4c1543cd514f613f9ffc409c0 100644 |
| --- a/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.h |
| +++ b/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.h |
| @@ -31,6 +31,7 @@ |
| #ifndef MediaConstraintsImpl_h |
| #define MediaConstraintsImpl_h |
| +#include "modules/ModulesExport.h" |
| #include "modules/mediastream/MediaErrorState.h" |
| #include "public/platform/WebMediaConstraints.h" |
| #include "wtf/text/WTFString.h" |
| @@ -40,6 +41,7 @@ namespace blink { |
| class Dictionary; |
| class ExceptionState; |
|
Yuki
2016/05/24 10:01:03
nit: ExceptionState seems not used.
|
| class MediaTrackConstraints; |
| +class MediaTrackConstraintSet; |
|
Yuki
2016/05/24 10:01:03
nit: MediaTrackConstraintSet seems not used.
|
| namespace MediaConstraintsImpl { |
| @@ -47,7 +49,10 @@ WebMediaConstraints create(); |
| WebMediaConstraints create(ExecutionContext*, const Dictionary&, MediaErrorState&); |
| WebMediaConstraints create(ExecutionContext*, const MediaTrackConstraints&, MediaErrorState&); |
| -void convertConstraints(const WebMediaConstraints& input, MediaTrackConstraints& output); |
| +// Exported with MODULES_EXPORT for testing |
| +MODULES_EXPORT void convertConstraints(const WebMediaConstraints& input, MediaTrackConstraints& output); |
| +// Exported for testing only. |
| +MODULES_EXPORT WebMediaConstraints convertConstraintsToWeb(const MediaTrackConstraints&); |
| } |
| } // namespace blink |