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

Unified Diff: remoting/host/token_validator_factory_impl_unittest.cc

Issue 1394803004: Don't use base::MessageLoop::{Quit,QuitClosure} in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/host/remoting_me2me_host.cc ('k') | remoting/host/win/worker_process_launcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/token_validator_factory_impl_unittest.cc
diff --git a/remoting/host/token_validator_factory_impl_unittest.cc b/remoting/host/token_validator_factory_impl_unittest.cc
index 2b5e0aac7f65370308251cfd5b24fad06ced9f2f..49a9f8773cc7b8557f1a04214b794e18b145fd2d 100644
--- a/remoting/host/token_validator_factory_impl_unittest.cc
+++ b/remoting/host/token_validator_factory_impl_unittest.cc
@@ -74,18 +74,18 @@ class TokenValidatorFactoryImplTest : public testing::Test {
void SuccessCallback(const std::string& shared_secret) {
EXPECT_FALSE(shared_secret.empty());
- message_loop_.Quit();
+ message_loop_.QuitWhenIdle();
}
void FailureCallback(const std::string& shared_secret) {
EXPECT_TRUE(shared_secret.empty());
- message_loop_.Quit();
+ message_loop_.QuitWhenIdle();
}
void DeleteOnFailureCallback(const std::string& shared_secret) {
EXPECT_TRUE(shared_secret.empty());
token_validator_.reset();
- message_loop_.Quit();
+ message_loop_.QuitWhenIdle();
}
protected:
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/win/worker_process_launcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698