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

Unified Diff: chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc

Issue 1395103003: Don't use base::MessageLoop::{Quit,QuitClosure} in chrome/ (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
Index: chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
index 32a8fc2e15ec37897f61a58de7e5598e8bd11050..7b572617f7008aeceb054f2fbe19ecfc621f7def 100644
--- a/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
@@ -87,9 +87,7 @@ class BrowsingDataFileSystemHelperTest : public testing::Test {
// Unblocks the current MessageLoop. Should be called in response to some sort
// of async activity in a callback method.
- void Notify() {
- base::MessageLoop::current()->Quit();
- }
+ void Notify() { base::MessageLoop::current()->QuitWhenIdle(); }
// Callback that should be executed in response to
// storage::FileSystemContext::OpenFileSystem.

Powered by Google App Engine
This is Rietveld 408576698