| 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" | |
| 20 #include "net/test/embedded_test_server/embedded_test_server.h" | 19 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 21 | 20 |
| 22 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 23 #include "base/win/windows_version.h" | 22 #include "base/win/windows_version.h" |
| 24 #endif | 23 #endif |
| 25 | 24 |
| 26 #if defined (OS_ANDROID) || defined(THREAD_SANITIZER) | 25 #if defined (OS_ANDROID) || defined(THREAD_SANITIZER) |
| 27 // 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 |
| 28 // it's a bit sensitive to device performance. | 27 // it's a bit sensitive to device performance. |
| 29 static const char kUseLenientAudioChecking[] = "true"; | 28 static const char kUseLenientAudioChecking[] = "true"; |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 423 |
| 425 EXPECT_TRUE(base::PathExists(dump_file)); | 424 EXPECT_TRUE(base::PathExists(dump_file)); |
| 426 int64 file_size = 0; | 425 int64 file_size = 0; |
| 427 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); | 426 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); |
| 428 EXPECT_EQ(0, file_size); | 427 EXPECT_EQ(0, file_size); |
| 429 | 428 |
| 430 base::DeleteFile(dump_file, false); | 429 base::DeleteFile(dump_file, false); |
| 431 } | 430 } |
| 432 | 431 |
| 433 } // namespace content | 432 } // namespace content |
| OLD | NEW |