OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_CONSTRAINTS_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_CONSTRAINTS_H_ | 6 #define COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_ |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 class WebMediaConstraints; | 9 class WebMediaConstraints; |
10 class WebString; | 10 class WebString; |
11 } | 11 } |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 class MockConstraints { | 15 class MockConstraints { |
16 public: | 16 public: |
17 static bool VerifyConstraints(const blink::WebMediaConstraints& constraints, | 17 static bool VerifyConstraints(const blink::WebMediaConstraints& constraints, |
18 blink::WebString* failed_constraint = 0); | 18 blink::WebString* failed_constraint = 0); |
19 }; | 19 }; |
20 | 20 |
21 } // namespace content | 21 } // namespace content |
22 | 22 |
23 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_CONSTRAINTS_H_ | 23 #endif // COMPONENTS_TEST_RUNNER_MOCK_CONSTRAINTS_H_ |
OLD | NEW |