| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include "base/process/process_handle.h" | 7 #include "base/process/process_handle.h" |
| 8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "base/threading/thread_restrictions.h" | 10 #include "base/threading/thread_restrictions.h" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "content/browser/media/webrtc/webrtc_content_browsertest_base.h" | |
| 13 #include "content/browser/media/webrtc/webrtc_internals.h" | 12 #include "content/browser/media/webrtc/webrtc_internals.h" |
| 14 #include "content/browser/web_contents/web_contents_impl.h" | 13 #include "content/browser/web_contents/web_contents_impl.h" |
| 15 #include "content/public/test/browser_test_utils.h" | 14 #include "content/public/test/browser_test_utils.h" |
| 16 #include "content/public/test/content_browser_test_utils.h" | 15 #include "content/public/test/content_browser_test_utils.h" |
| 17 #include "content/shell/browser/shell.h" | 16 #include "content/shell/browser/shell.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 "net/test/embedded_test_server/embedded_test_server.h" | 19 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 20 | 20 |
| 21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 22 #define IntToStringType base::IntToString16 | 22 #define IntToStringType base::IntToString16 |
| 23 #else | 23 #else |
| 24 #define IntToStringType base::IntToString | 24 #define IntToStringType base::IntToString |
| 25 #endif | 25 #endif |
| 26 | 26 |
| 27 namespace { | 27 namespace { |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 EXPECT_TRUE(base::PathExists(input_audio_file)); | 274 EXPECT_TRUE(base::PathExists(input_audio_file)); |
| 275 file_size = 0; | 275 file_size = 0; |
| 276 EXPECT_TRUE(base::GetFileSize(input_audio_file, &file_size)); | 276 EXPECT_TRUE(base::GetFileSize(input_audio_file, &file_size)); |
| 277 EXPECT_GT(file_size, 0); | 277 EXPECT_GT(file_size, 0); |
| 278 | 278 |
| 279 base::DeleteFile(input_audio_file, false); | 279 base::DeleteFile(input_audio_file, false); |
| 280 } | 280 } |
| 281 } | 281 } |
| 282 | 282 |
| 283 } // namespace content | 283 } // namespace content |
| OLD | NEW |