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

Unified Diff: chrome/browser/process_singleton_posix_unittest.cc

Issue 2799743004: Revert of Use ScopedTaskEnvironment instead of MessageLoop in chrome unit tests. (Closed)
Patch Set: Created 3 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/process_singleton_posix_unittest.cc
diff --git a/chrome/browser/process_singleton_posix_unittest.cc b/chrome/browser/process_singleton_posix_unittest.cc
index 5166ee48476b4ae939388cc09517c51a400128bb..56808a833e96345890a94d6c55a3716636122915 100644
--- a/chrome/browser/process_singleton_posix_unittest.cc
+++ b/chrome/browser/process_singleton_posix_unittest.cc
@@ -27,7 +27,6 @@
#include "base/single_thread_task_runner.h"
#include "base/strings/stringprintf.h"
#include "base/synchronization/waitable_event.h"
-#include "base/test/scoped_task_environment.h"
#include "base/test/test_timeouts.h"
#include "base/test/thread_test_helper.h"
#include "base/threading/thread.h"
@@ -258,7 +257,7 @@
kill_callbacks_++;
}
- base::test::ScopedTaskEnvironment scoped_task_environment_;
+ base::MessageLoop message_loop_;
content::TestBrowserThread io_thread_;
base::ScopedTempDir temp_dir_;
base::WaitableEvent wait_event_;

Powered by Google App Engine
This is Rietveld 408576698