Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: content/shell/renderer/test_runner/mock_constraints.h

Issue 295983008: test_runner: Migrate MockConstraint to our Chromium C++ style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 content { 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& constraints,
18 blink::WebString* failed_constraint = 0);
18 }; 19 };
19 20
20 } // content 21 } // namespace content
21 22
22 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_ 23 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKCONSTRAINTS_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebUserMediaClientMock.cpp ('k') | content/shell/renderer/test_runner/mock_constraints.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698