[safe-browsing] Database full hash matches like prefix match.
[chromium-blink-merge.git] / content / shell / renderer / test_runner / MockConstraints.h
blob6bcedad10f6ab5a8ddade1422ad8ce3fd9a06351
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 CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_
8 namespace blink {
9 class WebMediaConstraints;
10 class WebString;
13 namespace content {
15 class MockConstraints {
16 public:
17 static bool verifyConstraints(const blink::WebMediaConstraints&, blink::WebString* failedConstraint = 0);
20 } // content
22 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_