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

Unified Diff: chrome/browser/extensions/api/storage/sync_value_store_cache.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/api/storage/sync_value_store_cache.cc
diff --git a/chrome/browser/extensions/api/storage/sync_value_store_cache.cc b/chrome/browser/extensions/api/storage/sync_value_store_cache.cc
index 0a440ee84f6c218b8488b00df6c553a05f5219f7..c90935dd54dbb8aeaf0b81d030bdd70128be2453 100644
--- a/chrome/browser/extensions/api/storage/sync_value_store_cache.cc
+++ b/chrome/browser/extensions/api/storage/sync_value_store_cache.cc
@@ -43,9 +43,8 @@ SyncValueStoreCache::SyncValueStoreCache(
// after the constructor returns.
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
- base::Bind(&SyncValueStoreCache::InitOnFileThread,
- base::Unretained(this),
- factory, observers, profile_path));
+ base::BindOnce(&SyncValueStoreCache::InitOnFileThread,
+ base::Unretained(this), factory, observers, profile_path));
}
SyncValueStoreCache::~SyncValueStoreCache() {

Powered by Google App Engine
This is Rietveld 408576698