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

Unified Diff: content/test/run_all_unittests.cc

Issue 2620633004: Remove mojo::edk::test::ScopedIPCSupport (Closed)
Patch Set: . Created 3 years, 11 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 | « content/test/BUILD.gn ('k') | extensions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/run_all_unittests.cc
diff --git a/content/test/run_all_unittests.cc b/content/test/run_all_unittests.cc
index 7efb88b51bf4fb86e7567c3b3c2277ff1271b2bb..02d678c20d0a7c2b3c6e82529d0d404d95fc7311 100644
--- a/content/test/run_all_unittests.cc
+++ b/content/test/run_all_unittests.cc
@@ -9,16 +9,15 @@
#include "build/build_config.h"
#include "content/public/test/unittest_test_suite.h"
#include "content/test/content_test_suite.h"
-#include "mojo/edk/test/scoped_ipc_support.h"
+#include "mojo/edk/embedder/scoped_ipc_support.h"
int main(int argc, char** argv) {
content::UnitTestTestSuite test_suite(
new content::ContentTestSuite(argc, argv));
base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart);
- std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipc_support;
- ipc_support.reset(
- new mojo::edk::test::ScopedIPCSupport(test_io_thread.task_runner()));
-
+ mojo::edk::ScopedIPCSupport ipc_support(
+ test_io_thread.task_runner(),
+ mojo::edk::ScopedIPCSupport::ShutdownPolicy::FAST);
return base::LaunchUnitTests(
argc, argv, base::Bind(&content::UnitTestTestSuite::Run,
base::Unretained(&test_suite)));
« no previous file with comments | « content/test/BUILD.gn ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698