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

Unified Diff: sync/internal_api/http_bridge_unittest.cc

Issue 1390513002: Remove base::MessageLoop::{Quit,QuitClosure} functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split into small CLs 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 | « storage/common/database/database_connections.cc ('k') | sync/util/get_session_name_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/http_bridge_unittest.cc
diff --git a/sync/internal_api/http_bridge_unittest.cc b/sync/internal_api/http_bridge_unittest.cc
index 7c6fe8228eaec6df28832d8e3372397b3274827e..543947ed6e14debdb1aad5f5e58d817e42f5a36c 100644
--- a/sync/internal_api/http_bridge_unittest.cc
+++ b/sync/internal_api/http_bridge_unittest.cc
@@ -170,7 +170,8 @@ class MAYBE_SyncHttpBridgeTest : public testing::Test {
http_bridge->GetRequestContextGetterForTest()->
GetURLRequestContext()->
http_transaction_factory()->GetSession());
- main_message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
+ main_message_loop->PostTask(FROM_HERE,
+ base::MessageLoop::QuitWhenIdleClosure());
}
base::MessageLoop* GetIOThreadLoop() { return io_thread_.message_loop(); }
« no previous file with comments | « storage/common/database/database_connections.cc ('k') | sync/util/get_session_name_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698