Roll src/third_party/WebKit f298044:aa8346d (svn 202628:202629)
[chromium-blink-merge.git] / components / test_runner / mock_constraints.h
blob0096b4ba31e53c394ed925f9ddeb4293551aff01
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_
6 #define COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_
8 namespace blink {
9 class WebMediaConstraints;
10 class WebString;
13 namespace test_runner {
15 class MockConstraints {
16 public:
17 static bool VerifyConstraints(const blink::WebMediaConstraints& constraints,
18 blink::WebString* failed_constraint = 0);
21 } // namespace test_runner
23 #endif // COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_