| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/process/process_handle.h" | 5 #include "base/process/process_handle.h" |
| 6 #include "base/strings/string_number_conversions.h" | 6 #include "base/strings/string_number_conversions.h" |
| 7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
| 8 #include "content/browser/media/webrtc_internals.h" | 8 #include "content/browser/media/webrtc_internals.h" |
| 9 #include "content/browser/web_contents/web_contents_impl.h" | 9 #include "content/browser/web_contents/web_contents_impl.h" |
| 10 #include "content/public/test/browser_test_utils.h" | 10 #include "content/public/test/browser_test_utils.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 return it.IsAtEnd(); | 31 return it.IsAtEnd(); |
| 32 } | 32 } |
| 33 | 33 |
| 34 } // namespace | 34 } // namespace |
| 35 | 35 |
| 36 namespace content { | 36 namespace content { |
| 37 | 37 |
| 38 class WebRtcAecDumpBrowserTest : public WebRtcContentBrowserTest { | 38 class WebRtcAecDumpBrowserTest : public WebRtcContentBrowserTest { |
| 39 public: | 39 public: |
| 40 WebRtcAecDumpBrowserTest() {} | 40 WebRtcAecDumpBrowserTest() {} |
| 41 virtual ~WebRtcAecDumpBrowserTest() {} | 41 ~WebRtcAecDumpBrowserTest() override {} |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #if defined(OS_WIN) | 44 #if defined(OS_WIN) |
| 45 #define IntToStringType base::IntToString16 | 45 #define IntToStringType base::IntToString16 |
| 46 #else | 46 #else |
| 47 #define IntToStringType base::IntToString | 47 #define IntToStringType base::IntToString |
| 48 #endif | 48 #endif |
| 49 | 49 |
| 50 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) | 50 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) |
| 51 // Timing out on ARM linux bot: http://crbug.com/238490 | 51 // Timing out on ARM linux bot: http://crbug.com/238490 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 EXPECT_TRUE(base::PathExists(unique_dump_file)); | 224 EXPECT_TRUE(base::PathExists(unique_dump_file)); |
| 225 int64 file_size = 0; | 225 int64 file_size = 0; |
| 226 EXPECT_TRUE(base::GetFileSize(unique_dump_file, &file_size)); | 226 EXPECT_TRUE(base::GetFileSize(unique_dump_file, &file_size)); |
| 227 EXPECT_GT(file_size, 0); | 227 EXPECT_GT(file_size, 0); |
| 228 | 228 |
| 229 base::DeleteFile(unique_dump_file, false); | 229 base::DeleteFile(unique_dump_file, false); |
| 230 } | 230 } |
| 231 } | 231 } |
| 232 | 232 |
| 233 } // namespace content | 233 } // namespace content |
| OLD | NEW |