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

Unified Diff: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.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 | « chrome/app_shim/chrome_main_app_mode_mac.mm ('k') | chrome/service/service_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6a482e1619ca7b97dba76ea574da1b0e9c09b421..db561a302c06ec3dceb32bc5d8721f4046ea03cb 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
@@ -264,7 +264,9 @@ int CloudPrintMockService_Main(SetExpectationsCallback set_expectations) {
// Needed for IPC.
mojo::edk::Init();
- mojo::edk::ScopedIPCSupport ipc_support(service_process.io_task_runner());
+ mojo::edk::ScopedIPCSupport ipc_support(
+ service_process.io_task_runner(),
+ mojo::edk::ScopedIPCSupport::ShutdownPolicy::FAST);
MockServiceIPCServer server(&service_process,
service_process.io_task_runner(),
@@ -520,7 +522,8 @@ base::CommandLine CloudPrintProxyPolicyStartupTest::MakeCmdLine(
TEST_F(CloudPrintProxyPolicyStartupTest, StartAndShutdown) {
mojo::edk::Init();
mojo::edk::ScopedIPCSupport ipc_support(
- BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO),
+ mojo::edk::ScopedIPCSupport::ShutdownPolicy::FAST);
TestingBrowserProcess* browser_process =
TestingBrowserProcess::GetGlobal();
« no previous file with comments | « chrome/app_shim/chrome_main_app_mode_mac.mm ('k') | chrome/service/service_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698