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

Unified Diff: base/test/multiprocess_test.cc

Issue 2835233002: Fix integration tests in src/chrome and src/extensions so that we can turn on IO thread checks wi... (Closed)
Patch Set: ready for review 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
« no previous file with comments | « apps/app_restore_service_browsertest.cc ('k') | chrome/browser/app_controller_mac_browsertest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/multiprocess_test.cc
diff --git a/base/test/multiprocess_test.cc b/base/test/multiprocess_test.cc
index 9da2433476ed2d2db46e7a755c0ef64a48916bbd..d45e3a8b4b38bcff47429952b24b01f84984e0b8 100644
--- a/base/test/multiprocess_test.cc
+++ b/base/test/multiprocess_test.cc
@@ -8,6 +8,7 @@
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
+#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
namespace base {
@@ -44,6 +45,7 @@ bool TerminateMultiProcessTestChild(const Process& process,
#endif // !defined(OS_ANDROID)
CommandLine GetMultiProcessTestChildBaseCommandLine() {
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
CommandLine cmd_line = *CommandLine::ForCurrentProcess();
cmd_line.SetProgram(MakeAbsoluteFilePath(cmd_line.GetProgram()));
return cmd_line;
« no previous file with comments | « apps/app_restore_service_browsertest.cc ('k') | chrome/browser/app_controller_mac_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698