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

Unified Diff: remoting/host/security_key/security_key_auth_handler_win_unittest.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
Index: remoting/host/security_key/security_key_auth_handler_win_unittest.cc
diff --git a/remoting/host/security_key/security_key_auth_handler_win_unittest.cc b/remoting/host/security_key/security_key_auth_handler_win_unittest.cc
index dbfe9250223feda2f69e15d4a4f1804f918cb8da..58ad21c516d431ccc325d9af451dc49bce5f7c10 100644
--- a/remoting/host/security_key/security_key_auth_handler_win_unittest.cc
+++ b/remoting/host/security_key/security_key_auth_handler_win_unittest.cc
@@ -17,7 +17,7 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_message_macros.h"
-#include "mojo/edk/test/scoped_ipc_support.h"
+#include "mojo/edk/embedder/scoped_ipc_support.h"
#include "remoting/host/host_mock_objects.h"
#include "remoting/host/security_key/fake_security_key_ipc_client.h"
#include "remoting/host/security_key/fake_security_key_ipc_server.h"
@@ -88,7 +88,7 @@ class SecurityKeyAuthHandlerWinTest : public testing::Test {
// IPC tests require a valid MessageLoop to run.
base::MessageLoopForIO message_loop_;
- mojo::edk::test::ScopedIPCSupport ipc_support_;
+ mojo::edk::ScopedIPCSupport ipc_support_;
// Used to allow |message_loop_| to run during tests. The instance is reset
// after each stage of the tests has been completed.
@@ -116,7 +116,8 @@ class SecurityKeyAuthHandlerWinTest : public testing::Test {
};
SecurityKeyAuthHandlerWinTest::SecurityKeyAuthHandlerWinTest()
- : ipc_support_(message_loop_.task_runner()),
+ : ipc_support_(message_loop_.task_runner(),
+ mojo::edk::ScopedIPCSupport::ShutdownPolicy::FAST),
run_loop_(new base::RunLoop()) {
auth_handler_ = remoting::SecurityKeyAuthHandler::Create(
&mock_client_session_details_,
« no previous file with comments | « remoting/host/security_key/remote_security_key_main.cc ('k') | remoting/host/security_key/security_key_ipc_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698