|
Mac Video Capture Device: split VCD into VCD and Factory.
VideoCaptureDeviceMac includes factory and non-factory parts.
This CL splits them into VideoCaptureDeviceMac and
VideoCaptureDeviceFactoryMac. The latter inherits the previous
class' static methods: Create(), GetDeviceNames() and
GetDeviceSupportedFormats().
All video factory code previously in MediaStreamManager is
moved into VideoCaptureFactory. This includes the use
of the flag |kUseFakeDeviceForMediaStream|.
This flag is moved correspondingly into media_switches.cc --
(but note that this flag is still used in MediaStreamManager for
the Fake Audio parts). File media_switches.cc is
included in several test files where the flag is used.
VideoCaptureDeviceTest is splitted as well into:
a) Tests that were exercising only the FakeVCD
(FakeVideoCaptureDeviceTest).
b) All other tests, that use the underlying OS webcam.
This VideoCaptureDeviceTest gets a Factory and uses it
instead of static methods.
A unit test is added to VCDFMac, doing little for the moment
but I'm planning to add support for testing at least the
blacklisting -- req from rsesek@ in another CL.
BUG= 288562, 323913, 255552
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269271
Total comments: 19
Total comments: 2
Total comments: 4
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+264 lines, -880 lines) |
Patch |
 |
M |
chrome/browser/apps/speech_recognition_browsertest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/apps/web_view_browsertest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/chrome_media_stream_infobar_browsertest.cc
|
View
|
1
2
3
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/ppapi/ppapi_test.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/webrtc_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/webrtc_internals_browsertest.cc
|
View
|
1
2
3
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_renderer_host_unittest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager_unittest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host_unittest.cc
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/shell/DEPS
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/browsertests_apk/content_browser_tests_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/content_test_launcher.cc
|
View
|
1
2
3
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/webrtc_content_browsertest_base.cc
|
View
|
1
2
3
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/media_switches.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/media_switches.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
3
4
5
6
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
A + |
media/video/capture/fake_video_capture_device_unittest.cc
|
View
|
1
2
3
4
|
8 chunks |
+32 lines, -316 lines |
0 comments
|
Download
|
 |
A + |
media/video/capture/mac/video_capture_device_factory_mac.h
|
View
|
1
2
|
2 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
media/video/capture/mac/video_capture_device_factory_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+48 lines, -309 lines |
0 comments
|
Download
|
 |
A |
media/video/capture/mac/video_capture_device_factory_mac_unittest.mm
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/video/capture/mac/video_capture_device_mac.h
|
View
|
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/video/capture/mac/video_capture_device_mac.mm
|
View
|
1
2
3
4
5
6
|
4 chunks |
+19 lines, -95 lines |
0 comments
|
Download
|
 |
M |
media/video/capture/video_capture_device_factory.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/video/capture/video_capture_device_factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+37 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/video/capture/video_capture_device_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
15 chunks |
+25 lines, -117 lines |
0 comments
|
Download
|
Total messages: 27 (0 generated)
|