Index: chrome/browser/sync/about_sync_util_unittest.cc |
diff --git a/chrome/browser/sync/about_sync_util_unittest.cc b/chrome/browser/sync/about_sync_util_unittest.cc |
index 6755d1b9f0f3dc4ee305f3b643ec90a500ebe1fd..7c4c84d3ccc2d04d24ddbffecbf279fc27b32a8d 100644 |
--- a/chrome/browser/sync/about_sync_util_unittest.cc |
+++ b/chrome/browser/sync/about_sync_util_unittest.cc |
@@ -6,21 +6,20 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/sync/about_sync_util.h" |
#include "chrome/browser/sync/profile_sync_service_mock.h" |
-#include "content/public/test/test_browser_thread.h" |
+#include "content/public/test/test_browser_thread_bundle.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
using ::testing::NiceMock; |
using ::testing::Return; |
using ::testing::_; |
-using content::BrowserThread; |
namespace sync_ui_util { |
namespace { |
TEST(SyncUIUtilTestAbout, ConstructAboutInformationWithUnrecoverableErrorTest) { |
- base::MessageLoopForUI message_loop; |
- content::TestBrowserThread ui_thread(BrowserThread::UI, &message_loop); |
+ content::TestBrowserThreadBundle thread_bundle( |
+ content::TestBrowserThreadBundle::DEFAULT); |
scoped_ptr<Profile> profile( |
ProfileSyncServiceMock::MakeSignedInTestingProfile()); |
NiceMock<ProfileSyncServiceMock> service(profile.get()); |