Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: chrome/browser/supervised_user/legacy/supervised_user_sync_service_unittest.cc

Issue 1105373002: Add task runners to more tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: FirstRunBubbleTest.CreateAndClose Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/supervised_user/legacy/supervised_user_sync_service_unittest.cc
diff --git a/chrome/browser/supervised_user/legacy/supervised_user_sync_service_unittest.cc b/chrome/browser/supervised_user/legacy/supervised_user_sync_service_unittest.cc
index b379300e1db6d763dd810636d39bd414cde02edc..c26722723eef5987f9303d9df6eff77af996b677 100644
--- a/chrome/browser/supervised_user/legacy/supervised_user_sync_service_unittest.cc
+++ b/chrome/browser/supervised_user/legacy/supervised_user_sync_service_unittest.cc
@@ -5,7 +5,6 @@
#include <string>
#include "base/bind.h"
-#include "base/message_loop/message_loop.h"
#include "base/prefs/scoped_user_pref_update.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
@@ -14,6 +13,7 @@
#include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_factory.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
+#include "content/public/test/test_browser_thread_bundle.h"
#include "sync/api/attachments/attachment_id.h"
#include "sync/api/sync_change.h"
#include "sync/api/sync_error_factory_mock.h"
@@ -98,7 +98,7 @@ class SupervisedUserSyncServiceTest : public ::testing::Test {
MockChangeProcessor* change_processor() { return change_processor_; }
private:
- base::MessageLoop message_loop;
+ content::TestBrowserThreadBundle thread_bundle_;
TestingProfile profile_;
SupervisedUserSyncService* service_;
« no previous file with comments | « chrome/browser/autocomplete/in_memory_url_index_unittest.cc ('k') | chrome/browser/ui/cocoa/task_manager_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698