Index: chrome/browser/history/android/sqlite_cursor_unittest.cc |
diff --git a/chrome/browser/history/android/sqlite_cursor_unittest.cc b/chrome/browser/history/android/sqlite_cursor_unittest.cc |
index 4f99e723f8a2c7f29739c704b4aeb490ff6c6f3c..6f657b385d5ab940fc8458ea66cc81f0c4b05190 100644 |
--- a/chrome/browser/history/android/sqlite_cursor_unittest.cc |
+++ b/chrome/browser/history/android/sqlite_cursor_unittest.cc |
@@ -28,7 +28,7 @@ |
#include "components/history/core/browser/android/android_time.h" |
#include "components/history/core/browser/history_service.h" |
#include "content/public/browser/browser_thread.h" |
-#include "content/public/test/test_browser_thread.h" |
+#include "content/public/test/test_browser_thread_bundle.h" |
#include "content/public/test/test_utils.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -36,7 +36,6 @@ namespace { |
using base::Bind; |
using base::Time; |
-using content::BrowserThread; |
using history::AndroidStatement; |
using history::HistoryAndBookmarkRow; |
using history::SearchRow; |
@@ -46,12 +45,7 @@ using history::SearchRow; |
class SQLiteCursorTest : public testing::Test, |
public SQLiteCursor::TestObserver { |
public: |
- SQLiteCursorTest() |
- : profile_manager_( |
- TestingBrowserProcess::GetGlobal()), |
- ui_thread_(BrowserThread::UI, &message_loop_), |
- file_thread_(BrowserThread::FILE, &message_loop_) { |
- } |
+ SQLiteCursorTest() : profile_manager_(TestingBrowserProcess::GetGlobal()) {} |
~SQLiteCursorTest() override {} |
protected: |
@@ -108,9 +102,7 @@ class SQLiteCursorTest : public testing::Test, |
protected: |
TestingProfileManager profile_manager_; |
- base::MessageLoop message_loop_; |
- content::TestBrowserThread ui_thread_; |
- content::TestBrowserThread file_thread_; |
+ content::TestBrowserThreadBundle test_browser_thread_bundle_; |
std::unique_ptr<AndroidHistoryProviderService> service_; |
base::CancelableTaskTracker cancelable_tracker_; |
TestingProfile* testing_profile_; |