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

Unified Diff: chrome/browser/browsing_data/hosted_apps_counter_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/browsing_data/hosted_apps_counter_unittest.cc
diff --git a/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc b/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc
index b93e9e1ebbb377adbedc055ee14e28f40424930e..c997eaf2626c3b88bed08a92bc08eca878154c46 100644
--- a/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc
+++ b/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc
@@ -17,6 +17,7 @@
#include "components/browsing_data/core/pref_names.h"
#include "components/crx_file/id_util.h"
#include "components/prefs/pref_service.h"
+#include "content/public/test/test_browser_thread_bundle.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/value_builder.h"
@@ -138,7 +139,7 @@ class HostedAppsCounterTest : public testing::Test {
}
private:
- base::MessageLoop loop_;
+ content::TestBrowserThreadBundle thread_bundle_;
std::unique_ptr<TestingProfile> profile_;
extensions::ExtensionRegistry* extension_registry_;

Powered by Google App Engine
This is Rietveld 408576698