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

Unified Diff: chrome/browser/chrome_quota_permission_context.cc

Issue 2825003002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{a,b,c,d,e,f,g}* (Closed)
Patch Set: split rest of changes to 3 CLs 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/chrome_plugin_browsertest.cc ('k') | chrome/browser/chrome_site_per_process_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_quota_permission_context.cc
diff --git a/chrome/browser/chrome_quota_permission_context.cc b/chrome/browser/chrome_quota_permission_context.cc
index eb29a92d5bcaa0d929ee7d6a4f874d06e3e5c3de..10a65100af3cdcb415c830edd7c42d9c51bf670d 100644
--- a/chrome/browser/chrome_quota_permission_context.cc
+++ b/chrome/browser/chrome_quota_permission_context.cc
@@ -249,8 +249,8 @@ void ChromeQuotaPermissionContext::RequestQuotaPermission(
if (!content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)) {
content::BrowserThread::PostTask(
content::BrowserThread::UI, FROM_HERE,
- base::Bind(&ChromeQuotaPermissionContext::RequestQuotaPermission, this,
- params, render_process_id, callback));
+ base::BindOnce(&ChromeQuotaPermissionContext::RequestQuotaPermission,
+ this, params, render_process_id, callback));
return;
}
@@ -299,8 +299,9 @@ void ChromeQuotaPermissionContext::DispatchCallbackOnIOThread(
if (!content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)) {
content::BrowserThread::PostTask(
content::BrowserThread::IO, FROM_HERE,
- base::Bind(&ChromeQuotaPermissionContext::DispatchCallbackOnIOThread,
- this, callback, response));
+ base::BindOnce(
+ &ChromeQuotaPermissionContext::DispatchCallbackOnIOThread, this,
+ callback, response));
return;
}
« no previous file with comments | « chrome/browser/chrome_plugin_browsertest.cc ('k') | chrome/browser/chrome_site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698