Index: components/test_runner/mock_constraints.h |
diff --git a/components/test_runner/mock_constraints.h b/components/test_runner/mock_constraints.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0096b4ba31e53c394ed925f9ddeb4293551aff01 |
--- /dev/null |
+++ b/components/test_runner/mock_constraints.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_ |
+#define COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_ |
+ |
+namespace blink { |
+class WebMediaConstraints; |
+class WebString; |
+} |
+ |
+namespace test_runner { |
+ |
+class MockConstraints { |
+ public: |
+ static bool VerifyConstraints(const blink::WebMediaConstraints& constraints, |
+ blink::WebString* failed_constraint = 0); |
+}; |
+ |
+} // namespace test_runner |
+ |
+#endif // COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_ |