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

Unified Diff: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc

Issue 2767923002: Always use an async TaskScheduler in TestBrowserThreadBundle. (Closed)
Patch Set: fix-test-error 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/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
index 789a4fb4acb82dfea0937dda65f59c4eebf42ed2..03805bac54d74c67d1c3650d9586012aaabcf073 100644
--- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
+++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
@@ -402,10 +402,7 @@ class CloudPrintProxyPolicyStartupTest : public base::MultiProcessTest,
};
CloudPrintProxyPolicyStartupTest::CloudPrintProxyPolicyStartupTest()
- : // TaskScheduler must run on its own thread because the main thread waits
- // for a task running in it.
- thread_bundle_(content::TestBrowserThreadBundle::REAL_IO_THREAD |
- content::TestBrowserThreadBundle::REAL_TASK_SCHEDULER) {
+ : thread_bundle_(content::TestBrowserThreadBundle::REAL_IO_THREAD) {
// Although is really a unit test which runs in the browser_tests binary, it
// doesn't get the unit setup which normally happens in the unit test binary.
ChromeUnitTestSuite::InitializeProviders();

Powered by Google App Engine
This is Rietveld 408576698