Chromium Code Reviews| Index: chrome/browser/media/webrtc/webrtc_log_util_unittest.cc |
| diff --git a/chrome/browser/media/webrtc/webrtc_log_util_unittest.cc b/chrome/browser/media/webrtc/webrtc_log_util_unittest.cc |
| index 6bdd7debc7f316e1fbb881a280c251ea37d6220d..c91b7787cd9445934a53ecf89e91eabf1bf05c06 100644 |
| --- a/chrome/browser/media/webrtc/webrtc_log_util_unittest.cc |
| +++ b/chrome/browser/media/webrtc/webrtc_log_util_unittest.cc |
| @@ -2,22 +2,20 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +#include "chrome/browser/media/webrtc/webrtc_log_util.h" |
|
gab
2017/04/25 14:53:15
ditto
fdoray
2017/04/27 13:12:26
Done.
|
| #include "base/files/file_enumerator.h" |
| #include "base/files/file_path.h" |
| #include "base/files/file_util.h" |
| #include "base/files/scoped_temp_dir.h" |
| -#include "base/message_loop/message_loop.h" |
| #include "base/time/time.h" |
| -#include "chrome/browser/media/webrtc/webrtc_log_util.h" |
| -#include "content/public/test/test_browser_thread.h" |
| +#include "content/public/test/test_browser_thread_bundle.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| const int kExpectedDaysToKeepLogFiles = 5; |
| class WebRtcLogUtilTest : public testing::Test { |
| public: |
| - WebRtcLogUtilTest() |
| - : file_thread_(content::BrowserThread::FILE, &message_loop_) {} |
| + WebRtcLogUtilTest() = default; |
| void SetUp() override { |
| // Create three files. One with modified date as of now, one with date one |
| @@ -52,8 +50,7 @@ class WebRtcLogUtilTest : public testing::Test { |
| EXPECT_EQ(expected_files, file_counter); |
| } |
| - base::MessageLoopForUI message_loop_; |
| - content::TestBrowserThread file_thread_; |
| + content::TestBrowserThreadBundle test_browser_thread_bundle_; |
| base::ScopedTempDir dir_; |
| }; |