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

Unified Diff: content/browser/net/quota_policy_cookie_store.cc

Issue 2937963003: Shift cookie system callbacks to OnceCallback to impedance match mojo. (Closed)
Patch Set: Finish Merge Created 3 years, 6 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: content/browser/net/quota_policy_cookie_store.cc
diff --git a/content/browser/net/quota_policy_cookie_store.cc b/content/browser/net/quota_policy_cookie_store.cc
index 22637fe7c4b91f2454a10c151dd6cff5c8d06d8c..1fcb92626d0b005c94c6e0ed835b788b268cb097 100644
--- a/content/browser/net/quota_policy_cookie_store.cc
+++ b/content/browser/net/quota_policy_cookie_store.cc
@@ -93,8 +93,8 @@ void QuotaPolicyCookieStore::SetForceKeepSessionState() {
special_storage_policy_ = nullptr;
}
-void QuotaPolicyCookieStore::Flush(const base::Closure& callback) {
- persistent_store_->Flush(callback);
+void QuotaPolicyCookieStore::Flush(base::OnceClosure callback) {
+ persistent_store_->Flush(std::move(callback));
}
void QuotaPolicyCookieStore::OnLoad(

Powered by Google App Engine
This is Rietveld 408576698