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

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

Issue 2826783003: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/browsing_data (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 | « no previous file | chrome/browser/browsing_data/browsing_data_appcache_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/autofill_counter_browsertest.cc
diff --git a/chrome/browser/browsing_data/autofill_counter_browsertest.cc b/chrome/browser/browsing_data/autofill_counter_browsertest.cc
index d85c8896faa41056230eabf28cda0795613a14e2..3db7c8f6a8838bf8e0956cb05d602fdf771f6185 100644
--- a/chrome/browser/browsing_data/autofill_counter_browsertest.cc
+++ b/chrome/browser/browsing_data/autofill_counter_browsertest.cc
@@ -114,8 +114,8 @@ class AutofillCounterTest : public InProcessBrowserTest {
void CallbackFromDBThread() {
content::BrowserThread::PostTask(
content::BrowserThread::UI, FROM_HERE,
- base::Bind(&base::RunLoop::Quit,
- base::Unretained(run_loop_.get())));
+ base::BindOnce(&base::RunLoop::Quit,
+ base::Unretained(run_loop_.get())));
}
void WaitForDBThread() {
@@ -123,8 +123,8 @@ class AutofillCounterTest : public InProcessBrowserTest {
content::BrowserThread::PostTask(
content::BrowserThread::DB, FROM_HERE,
- base::Bind(&AutofillCounterTest::CallbackFromDBThread,
- base::Unretained(this)));
+ base::BindOnce(&AutofillCounterTest::CallbackFromDBThread,
+ base::Unretained(this)));
run_loop_->Run();
}
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_appcache_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698