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

Side by Side Diff: content/test/webrtc_content_browsertest_base.cc

Issue 265263004: Mac Video Capture Device: split VCD into VCD and Factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reconnected VCDFMac::Create() check for device name; VCDTest::OpenInvalidDevice needs Mac API Type. 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
« no previous file with comments | « content/test/content_test_launcher.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/test/webrtc_content_browsertest_base.h" 5 #include "content/test/webrtc_content_browsertest_base.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
11 #include "content/public/test/browser_test_utils.h" 11 #include "content/public/test/browser_test_utils.h"
12 #include "content/public/test/content_browser_test_utils.h" 12 #include "content/public/test/content_browser_test_utils.h"
13 #include "content/shell/browser/shell.h" 13 #include "content/shell/browser/shell.h"
14 #include "media/base/media_switches.h"
14 15
15 namespace content { 16 namespace content {
16 17
17 void WebRtcContentBrowserTest::SetUpCommandLine(CommandLine* command_line) { 18 void WebRtcContentBrowserTest::SetUpCommandLine(CommandLine* command_line) {
18 // We need fake devices in this test since we want to run on naked VMs. We 19 // We need fake devices in this test since we want to run on naked VMs. We
19 // assume these switches are set by default in content_browsertests. 20 // assume these switches are set by default in content_browsertests.
20 ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch( 21 ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch(
21 switches::kUseFakeDeviceForMediaStream)); 22 switches::kUseFakeDeviceForMediaStream));
22 ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch( 23 ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch(
23 switches::kUseFakeUIForMediaStream)); 24 switches::kUseFakeUIForMediaStream));
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 function_name, 69 function_name,
69 min_width, 70 min_width,
70 max_width, 71 max_width,
71 min_height, 72 min_height,
72 max_height, 73 max_height,
73 min_frame_rate, 74 min_frame_rate,
74 max_frame_rate); 75 max_frame_rate);
75 } 76 }
76 77
77 } // namespace content 78 } // namespace content
OLDNEW
« no previous file with comments | « content/test/content_test_launcher.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698