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..615ee09bc6e37359014f2ad39a0654766ddf8fb0 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" |
@@ -38,7 +39,6 @@ |
namespace blink { |
class Dictionary; |
-class ExceptionState; |
class MediaTrackConstraints; |
namespace MediaConstraintsImpl { |
@@ -47,7 +47,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 |