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

Unified Diff: chrome/test/base/mash_browser_tests_main.cc

Issue 2111353002: Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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/test/base/mash_browser_tests_main.cc
diff --git a/chrome/test/base/mash_browser_tests_main.cc b/chrome/test/base/mash_browser_tests_main.cc
index eeffe524790fdc53d9afc59a42447e1bc3a64207..e415820e317cb02e26f58fc7e58f696510a48ea2 100644
--- a/chrome/test/base/mash_browser_tests_main.cc
+++ b/chrome/test/base/mash_browser_tests_main.cc
@@ -10,6 +10,7 @@
#include "base/memory/ptr_util.h"
#include "base/process/launch.h"
#include "base/sys_info.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "chrome/test/base/chrome_test_launcher.h"
#include "chrome/test/base/chrome_test_suite.h"
#include "chrome/test/base/mojo_test_connector.h"
@@ -108,7 +109,8 @@ std::unique_ptr<content::MojoShellConnection> CreateMojoShellConnection(
MashTestLauncherDelegate* delegate) {
std::unique_ptr<content::MojoShellConnection> connection(
content::MojoShellConnection::Create(
- delegate->GetMojoTestConnectorForSingleProcess()->Init()));
+ delegate->GetMojoTestConnectorForSingleProcess()->Init(),
+ base::ThreadTaskRunnerHandle::Get()));
ConnectToDefaultApps(connection->GetConnector());
return connection;
}
« no previous file with comments | « no previous file | content/browser/browser_context.cc » ('j') | content/common/mojo/mojo_shell_connection_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698