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

Unified Diff: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc

Issue 2082363002: Remove calls to deprecated MessageLoop methods in remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing include 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: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
index 7371f68e0d3e0cf960569c40937e3b6159728e91..cc932015b42bb5d7de4b495dfb9b63bb1c54ec9f 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
@@ -12,6 +12,7 @@
#include "base/files/file_util.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/test/test_timeouts.h"
#include "base/timer/timer.h"
#include "crypto/rsa_private_key.h"
@@ -113,7 +114,7 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
base::Timer shutdown_timer(false, false);
shutdown_timer.Start(FROM_HERE, TestTimeouts::action_timeout(),
base::MessageLoop::QuitWhenIdleClosure());
- message_loop_.Run();
+ base::RunLoop().Run();
}
void OnHostConnected(const std::string& ref_argument,
@@ -166,7 +167,7 @@ TEST_F(SslHmacChannelAuthenticatorTest, SuccessfulAuth) {
100, 2);
tester.Start();
- message_loop_.Run();
+ base::RunLoop().Run();
tester.CheckResults();
}
« no previous file with comments | « remoting/protocol/spake2_authenticator_unittest.cc ('k') | remoting/protocol/third_party_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698