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

Unified Diff: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc

Issue 14314026: remoting: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « remoting/protocol/message_reader_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 33e51fefc598d407bcd589af3e9f3d9be9a81912..47dd4466beefc5a2f07b8134813b99ab1c328f9a 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
@@ -43,7 +43,7 @@ ACTION_P(QuitThreadOnCounter, counter) {
--(*counter);
EXPECT_GE(*counter, 0);
if (*counter == 0)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
} // namespace
@@ -103,8 +103,9 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
// Ensure that .Run() does not run unbounded if the callbacks are never
// called.
base::Timer shutdown_timer(false, false);
- shutdown_timer.Start(FROM_HERE, TestTimeouts::action_timeout(),
- MessageLoop::QuitClosure());
+ shutdown_timer.Start(FROM_HERE,
+ TestTimeouts::action_timeout(),
+ base::MessageLoop::QuitClosure());
message_loop_.Run();
}
@@ -120,7 +121,7 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
client_socket_ = socket.Pass();
}
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
scoped_refptr<RsaKeyPair> key_pair_;
std::string host_cert_;
« no previous file with comments | « remoting/protocol/message_reader_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698