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

Unified Diff: chrome/browser/extensions/test_extension_prefs.cc

Issue 2825963003: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/extensions (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
« no previous file with comments | « chrome/browser/extensions/test_blacklist.cc ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/test_extension_prefs.cc
diff --git a/chrome/browser/extensions/test_extension_prefs.cc b/chrome/browser/extensions/test_extension_prefs.cc
index 0354342594f57b56f9d0572f91f0e9ec3b80dda6..871b1b7f82f00a05704d10b412020713b3d4b82f 100644
--- a/chrome/browser/extensions/test_extension_prefs.cc
+++ b/chrome/browser/extensions/test_extension_prefs.cc
@@ -109,11 +109,8 @@ void TestExtensionPrefs::RecreateExtensionPrefs() {
// it to finish.
pref_service_->CommitPendingWrite();
base::RunLoop run_loop;
- ASSERT_TRUE(
- task_runner_->PostTaskAndReply(
- FROM_HERE,
- base::Bind(&base::DoNothing),
- run_loop.QuitClosure()));
+ ASSERT_TRUE(task_runner_->PostTaskAndReply(
+ FROM_HERE, base::BindOnce(&base::DoNothing), run_loop.QuitClosure()));
run_loop.Run();
}
« no previous file with comments | « chrome/browser/extensions/test_blacklist.cc ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698