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

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

Issue 2342523002: Forcibly clear worker ref counts on shutdown. (Closed)
Patch Set: rebase Created 4 years, 3 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_registration_utility_unittest.cc
diff --git a/chrome/browser/supervised_user/legacy/supervised_user_registration_utility_unittest.cc b/chrome/browser/supervised_user/legacy/supervised_user_registration_utility_unittest.cc
index 3b3b86a1b1db4ee1c20ad9f7daecd3e749d0c369..39c8fc6e2e39035e817ce7cacbe69c95f31b8d46 100644
--- a/chrome/browser/supervised_user/legacy/supervised_user_registration_utility_unittest.cc
+++ b/chrome/browser/supervised_user/legacy/supervised_user_registration_utility_unittest.cc
@@ -28,6 +28,7 @@
#include "components/sync/protocol/sync.pb.h"
#include "components/syncable_prefs/testing_pref_service_syncable.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/test/test_browser_thread_bundle.h"
#include "content/public/test/test_utils.h"
#include "google_apis/gaia/google_service_auth_error.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -126,7 +127,7 @@ class SupervisedUserRegistrationUtilityTest : public ::testing::Test {
void OnSupervisedUserRegistered(const GoogleServiceAuthError& error,
const std::string& token);
- base::MessageLoop message_loop_;
+ content::TestBrowserThreadBundle thread_bundle_;
base::RunLoop run_loop_;
TestingProfile profile_;
SupervisedUserSyncService* service_;

Powered by Google App Engine
This is Rietveld 408576698