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