OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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/big_endian.h" | 5 #include "base/big_endian.h" |
6 #include "base/bind.h" | 6 #include "base/bind.h" |
7 #include "base/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
12 #include "chrome/browser/media/webrtc_rtp_dump_writer.h" | 12 #include "chrome/browser/media/webrtc_rtp_dump_writer.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/test/test_browser_thread_bundle.h" | 14 #include "content/public/test/test_browser_thread_bundle.h" |
15 #include "content/public/test/test_utils.h" | 15 #include "content/public/test/test_utils.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 base::Unretained(this))); | 353 base::Unretained(this))); |
354 | 354 |
355 content::RunAllPendingInMessageLoop(content::BrowserThread::FILE); | 355 content::RunAllPendingInMessageLoop(content::BrowserThread::FILE); |
356 base::RunLoop().RunUntilIdle(); | 356 base::RunLoop().RunUntilIdle(); |
357 content::RunAllPendingInMessageLoop(content::BrowserThread::FILE); | 357 content::RunAllPendingInMessageLoop(content::BrowserThread::FILE); |
358 base::RunLoop().RunUntilIdle(); | 358 base::RunLoop().RunUntilIdle(); |
359 } | 359 } |
360 | 360 |
361 VerifyDumps(2, 1); | 361 VerifyDumps(2, 1); |
362 } | 362 } |
OLD | NEW |