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. 4 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ 7 8 namespace blink { 9 class WebMediaConstraints; 10 class WebString; 11 } 12 13 namespace content { 14 15 class MockConstraints { 16 public: 17 static bool VerifyConstraints(const blink::WebMediaConstraints& constraints, 18 blink::WebString* failed_constraint = 0); 19 }; 20 21 } // namespace content 22 23 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ 24