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

Side by Side Diff: content/browser/renderer_host/media/video_capture_host_unittest.cc

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra BUILD.gn line Created 5 years, 9 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 10 matching lines...) Expand all
21 #include "content/browser/renderer_host/media/video_capture_host.h" 21 #include "content/browser/renderer_host/media/video_capture_host.h"
22 #include "content/browser/renderer_host/media/video_capture_manager.h" 22 #include "content/browser/renderer_host/media/video_capture_manager.h"
23 #include "content/common/media/video_capture_messages.h" 23 #include "content/common/media/video_capture_messages.h"
24 #include "content/public/common/content_switches.h" 24 #include "content/public/common/content_switches.h"
25 #include "content/public/test/mock_resource_context.h" 25 #include "content/public/test/mock_resource_context.h"
26 #include "content/public/test/test_browser_context.h" 26 #include "content/public/test/test_browser_context.h"
27 #include "content/public/test/test_browser_thread_bundle.h" 27 #include "content/public/test/test_browser_thread_bundle.h"
28 #include "content/test/test_content_browser_client.h" 28 #include "content/test/test_content_browser_client.h"
29 #include "media/audio/audio_manager.h" 29 #include "media/audio/audio_manager.h"
30 #include "media/base/media_switches.h" 30 #include "media/base/media_switches.h"
31 #include "media/base/video_capture_types.h"
31 #include "media/base/video_frame.h" 32 #include "media/base/video_frame.h"
32 #include "media/video/capture/video_capture_types.h"
33 #include "net/url_request/url_request_context.h" 33 #include "net/url_request/url_request_context.h"
34 #include "testing/gmock/include/gmock/gmock.h" 34 #include "testing/gmock/include/gmock/gmock.h"
35 #include "testing/gtest/include/gtest/gtest.h" 35 #include "testing/gtest/include/gtest/gtest.h"
36 36
37 #if defined(OS_CHROMEOS) 37 #if defined(OS_CHROMEOS)
38 #include "chromeos/audio/cras_audio_handler.h" 38 #include "chromeos/audio/cras_audio_handler.h"
39 #endif 39 #endif
40 40
41 using ::testing::_; 41 using ::testing::_;
42 using ::testing::AtLeast; 42 using ::testing::AtLeast;
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 #ifdef DUMP_VIDEO 561 #ifdef DUMP_VIDEO
562 TEST_F(VideoCaptureHostTest, CaptureAndDumpVideoVga) { 562 TEST_F(VideoCaptureHostTest, CaptureAndDumpVideoVga) {
563 CaptureAndDumpVideo(640, 480, 30); 563 CaptureAndDumpVideo(640, 480, 30);
564 } 564 }
565 TEST_F(VideoCaptureHostTest, CaptureAndDump720P) { 565 TEST_F(VideoCaptureHostTest, CaptureAndDump720P) {
566 CaptureAndDumpVideo(1280, 720, 30); 566 CaptureAndDumpVideo(1280, 720, 30);
567 } 567 }
568 #endif 568 #endif
569 569
570 } // namespace content 570 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698