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

Side by Side Diff: content/browser/media/webrtc_browsertest.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: Corrected tests that needed include media_switches.h 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 (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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "content/browser/media/webrtc_internals.h" 9 #include "content/browser/media/webrtc_internals.h"
10 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
11 #include "content/public/common/content_switches.h" 11 #include "content/public/common/content_switches.h"
12 #include "content/public/test/browser_test_utils.h" 12 #include "content/public/test/browser_test_utils.h"
13 #include "content/public/test/content_browser_test_utils.h" 13 #include "content/public/test/content_browser_test_utils.h"
14 #include "content/public/test/test_utils.h" 14 #include "content/public/test/test_utils.h"
15 #include "content/shell/browser/shell.h" 15 #include "content/shell/browser/shell.h"
16 #include "content/test/webrtc_content_browsertest_base.h" 16 #include "content/test/webrtc_content_browsertest_base.h"
17 #include "media/audio/audio_manager.h" 17 #include "media/audio/audio_manager.h"
18 #include "media/base/media_switches.h"
18 #include "net/test/embedded_test_server/embedded_test_server.h" 19 #include "net/test/embedded_test_server/embedded_test_server.h"
19 20
20 #if defined(OS_WIN) 21 #if defined(OS_WIN)
21 #include "base/win/windows_version.h" 22 #include "base/win/windows_version.h"
22 #endif 23 #endif
23 24
24 #if defined (OS_ANDROID) || defined(THREAD_SANITIZER) 25 #if defined (OS_ANDROID) || defined(THREAD_SANITIZER)
25 // Just do the bare minimum of audio checking on Android and under TSAN since 26 // Just do the bare minimum of audio checking on Android and under TSAN since
26 // it's a bit sensitive to device performance. 27 // it's a bit sensitive to device performance.
27 static const char kUseLenientAudioChecking[] = "true"; 28 static const char kUseLenientAudioChecking[] = "true";
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 427
427 EXPECT_TRUE(base::PathExists(dump_file)); 428 EXPECT_TRUE(base::PathExists(dump_file));
428 int64 file_size = 0; 429 int64 file_size = 0;
429 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); 430 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size));
430 EXPECT_EQ(0, file_size); 431 EXPECT_EQ(0, file_size);
431 432
432 base::DeleteFile(dump_file, false); 433 base::DeleteFile(dump_file, false);
433 } 434 }
434 435
435 } // namespace content 436 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698