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

Unified Diff: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc

Issue 2837863004: Use base::OneShotTimer instead of base::Timer(false, false)
Patch Set: rebase Created 3 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/capture_scheduler.cc ('k') | ui/views/controls/scrollbar/overlay_scroll_bar.h » ('j') | 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 6b9aa2139c3f0fe73b6f1505859ba238e8608e48..c42bb7dd1aa20c969bd2bca62b8fb27e9ef436e6 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
@@ -111,7 +111,7 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
// Ensure that .Run() does not run unbounded if the callbacks are never
// called.
- base::Timer shutdown_timer(false, false);
+ base::OneShotTimer shutdown_timer;
shutdown_timer.Start(FROM_HERE, TestTimeouts::action_timeout(),
base::MessageLoop::QuitWhenIdleClosure());
base::RunLoop().Run();
« no previous file with comments | « remoting/protocol/capture_scheduler.cc ('k') | ui/views/controls/scrollbar/overlay_scroll_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698