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

Unified Diff: chrome/browser/browsing_data/site_data_counting_helper_unittest.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 | « chrome/browser/browsing_data/site_data_counting_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/site_data_counting_helper_unittest.cc
diff --git a/chrome/browser/browsing_data/site_data_counting_helper_unittest.cc b/chrome/browser/browsing_data/site_data_counting_helper_unittest.cc
index b7edb053e589101b24f7a2cc995240f8cc04695e..6938e5f1d84793f8c42715183dcb54d7ffeae99d 100644
--- a/chrome/browser/browsing_data/site_data_counting_helper_unittest.cc
+++ b/chrome/browser/browsing_data/site_data_counting_helper_unittest.cc
@@ -57,8 +57,8 @@ class SiteDataCountingHelperTest : public testing::Test {
return;
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- base::Bind(&SiteDataCountingHelperTest::DoneCallback,
- base::Unretained(this)));
+ base::BindOnce(&SiteDataCountingHelperTest::DoneCallback,
+ base::Unretained(this)));
}
void DoneCallback() {
@@ -81,9 +81,9 @@ class SiteDataCountingHelperTest : public testing::Test {
partition->GetURLRequestContext();
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::Bind(&SiteDataCountingHelperTest::CreateCookiesOnIOThread,
- base::Unretained(this), make_scoped_refptr(rq_context),
- creation_time, urls));
+ base::BindOnce(&SiteDataCountingHelperTest::CreateCookiesOnIOThread,
+ base::Unretained(this), make_scoped_refptr(rq_context),
+ creation_time, urls));
}
void CreateLocalStorage(
« no previous file with comments | « chrome/browser/browsing_data/site_data_counting_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698