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

Unified Diff: chrome/browser/extensions/extension_service_test_base.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/extensions/extension_service_test_base.cc
diff --git a/chrome/browser/extensions/extension_service_test_base.cc b/chrome/browser/extensions/extension_service_test_base.cc
index cb0e91417a8f6b4203c7b613b8ec8d42d5be7725..10f16f3d324bd6b52fde4a6340403a1e38bb4d89 100644
--- a/chrome/browser/extensions/extension_service_test_base.cc
+++ b/chrome/browser/extensions/extension_service_test_base.cc
@@ -73,9 +73,9 @@ ExtensionServiceTestBase::ExtensionServiceInitParams::
}
ExtensionServiceTestBase::ExtensionServiceTestBase()
- : service_(NULL),
+ : thread_bundle_(new content::TestBrowserThreadBundle(kThreadOptions)),
+ service_(NULL),
testing_local_state_(TestingBrowserProcess::GetGlobal()),
- thread_bundle_(new content::TestBrowserThreadBundle(kThreadOptions)),
did_reset_thread_bundle_(false),
registry_(NULL) {
base::FilePath test_data_dir;
« no previous file with comments | « chrome/browser/extensions/extension_service_test_base.h ('k') | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698