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

Unified Diff: chrome/browser/prefs/profile_pref_store_manager_unittest.cc

Issue 2828663002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{i,l,m,n,p,r}* (Closed)
Patch Set: 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
Index: chrome/browser/prefs/profile_pref_store_manager_unittest.cc
diff --git a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
index 144d4e3b136e8b0245a2824a84f47e10947cc62c..09047f3a4c0916189454bb53b98af4b856991c98 100644
--- a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
+++ b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
@@ -293,7 +293,7 @@ class ProfilePrefStoreManagerTest : public testing::TestWithParam<bool>,
base::RunLoop run_loop;
JsonPrefStore::GetTaskRunnerForFile(profile_dir_.GetPath(),
worker_pool_->pool().get())
- ->PostTaskAndReply(FROM_HERE, base::Bind(&base::DoNothing),
+ ->PostTaskAndReply(FROM_HERE, base::BindOnce(&base::DoNothing),
run_loop.QuitClosure());
run_loop.Run();
@@ -328,7 +328,7 @@ class ProfilePrefStoreManagerTest : public testing::TestWithParam<bool>,
base::RunLoop run_loop;
JsonPrefStore::GetTaskRunnerForFile(profile_dir_.GetPath(),
worker_pool_->pool().get())
- ->PostTaskAndReply(FROM_HERE, base::Bind(&base::DoNothing),
+ ->PostTaskAndReply(FROM_HERE, base::BindOnce(&base::DoNothing),
run_loop.QuitClosure());
run_loop.Run();
}
« no previous file with comments | « chrome/browser/prefs/chrome_pref_service_factory.cc ('k') | chrome/browser/process_singleton_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698