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

Unified Diff: chrome/browser/extensions/extension_cookie_monster_delegate.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
Index: chrome/browser/extensions/extension_cookie_monster_delegate.cc
diff --git a/chrome/browser/extensions/extension_cookie_monster_delegate.cc b/chrome/browser/extensions/extension_cookie_monster_delegate.cc
index 7f545aec4d0682efae2cb85ce54220b0e5446b6c..d27442e002322428a25d2301645f72ec301f3420 100644
--- a/chrome/browser/extensions/extension_cookie_monster_delegate.cc
+++ b/chrome/browser/extensions/extension_cookie_monster_delegate.cc
@@ -37,8 +37,9 @@ void ExtensionCookieMonsterDelegate::OnCookieChanged(
net::CookieStore::ChangeCause cause) {
content::BrowserThread::PostTask(
content::BrowserThread::UI, FROM_HERE,
- base::Bind(&ExtensionCookieMonsterDelegate::OnCookieChangedAsyncHelper,
- this, cookie, removed, cause));
+ base::BindOnce(
+ &ExtensionCookieMonsterDelegate::OnCookieChangedAsyncHelper, this,
+ cookie, removed, cause));
}
ExtensionCookieMonsterDelegate::~ExtensionCookieMonsterDelegate() {}
« no previous file with comments | « chrome/browser/extensions/extension_bindings_apitest.cc ('k') | chrome/browser/extensions/extension_disabled_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698