| 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_MOCKCONSTRAINTS_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_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 WebTestRunner { | 13 namespace content { |
| 14 | 14 |
| 15 class MockConstraints { | 15 class MockConstraints { |
| 16 public: | 16 public: |
| 17 static bool verifyConstraints(const blink::WebMediaConstraints&, blink::WebS
tring* failedConstraint = 0); | 17 static bool verifyConstraints(const blink::WebMediaConstraints&, blink::WebS
tring* failedConstraint = 0); |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 } | 20 } // content |
| 21 | 21 |
| 22 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ | 22 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ |
| OLD | NEW |