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

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

Issue 1086733002: Ensure tests have an active task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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_pref_mapping_service_unittest.cc
diff --git a/chrome/browser/supervised_user/legacy/supervised_user_pref_mapping_service_unittest.cc b/chrome/browser/supervised_user/legacy/supervised_user_pref_mapping_service_unittest.cc
index 4d185900881e4f35242e79d4a00f83b7d9d1b42c..67224b57c1773fb97e15dd78e4c8b2ac17aa3ad9 100644
--- a/chrome/browser/supervised_user/legacy/supervised_user_pref_mapping_service_unittest.cc
+++ b/chrome/browser/supervised_user/legacy/supervised_user_pref_mapping_service_unittest.cc
@@ -12,6 +12,7 @@
#include "chrome/browser/supervised_user/supervised_user_constants.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
+#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
const char kFakeSupervisedUserId[] = "fakeID";
@@ -38,6 +39,7 @@ class SupervisedUserPrefMappingServiceTest : public ::testing::Test {
shared_settings_service_->Shutdown();
}
+ content::TestBrowserThreadBundle thread_bundle_;
TestingProfile profile_;
SupervisedUserSharedSettingsService* shared_settings_service_;
SupervisedUserPrefMappingService* mapping_service_;

Powered by Google App Engine
This is Rietveld 408576698