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

Unified Diff: chrome/browser/safe_browsing/mock_permission_report_sender.cc

Issue 2821193005: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/safe_browsing (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/safe_browsing/mock_permission_report_sender.cc
diff --git a/chrome/browser/safe_browsing/mock_permission_report_sender.cc b/chrome/browser/safe_browsing/mock_permission_report_sender.cc
index 46510c9d26ecd613ecfd1b08d79b008d2ba42668..04c85159b7122c9c0b2723e6a4d40be88fd559e3 100644
--- a/chrome/browser/safe_browsing/mock_permission_report_sender.cc
+++ b/chrome/browser/safe_browsing/mock_permission_report_sender.cc
@@ -35,9 +35,8 @@ void MockPermissionReportSender::Send(
content::BrowserThread::PostTask(
content::BrowserThread::UI, FROM_HERE,
- base::Bind(
- &MockPermissionReportSender::NotifyReportSentOnUIThread,
- base::Unretained(this)));
+ base::BindOnce(&MockPermissionReportSender::NotifyReportSentOnUIThread,
+ base::Unretained(this)));
}
void MockPermissionReportSender::WaitForReportSent() {
« no previous file with comments | « chrome/browser/safe_browsing/local_database_manager.cc ('k') | chrome/browser/safe_browsing/notification_image_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698