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

Side by Side Diff: content/renderer/media/mock_constraint_factory.h

Issue 1617243005: Apply new-style constraints to video_source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2016 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_RENDERER_MEDIA_MOCK_CONSTRAINT_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_CONSTRAINT_FACTORY_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
12
13 namespace content {
14
15 class MockConstraintFactory {
16 public:
17 MockConstraintFactory();
18 ~MockConstraintFactory();
19
20 blink::WebMediaConstraints CreateWebMediaConstraints() const;
21 blink::WebMediaTrackConstraintSet& basic() { return basic_; }
22 blink::WebMediaTrackConstraintSet& AddAdvanced();
23
24 private:
25 blink::WebMediaTrackConstraintSet basic_;
26 std::vector<blink::WebMediaTrackConstraintSet> advanced_;
27
28 DISALLOW_COPY_AND_ASSIGN(MockConstraintFactory);
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_RENDERER_MEDIA_MOCK_CONSTRAINT_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_video_source_unittest.cc ('k') | content/renderer/media/mock_constraint_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698