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

Unified Diff: chrome/browser/browsing_data/browsing_data_cookie_helper.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: chrome/browser/browsing_data/browsing_data_cookie_helper.cc
diff --git a/chrome/browser/browsing_data/browsing_data_cookie_helper.cc b/chrome/browser/browsing_data/browsing_data_cookie_helper.cc
index 0ae5e6aa6eef5c748d8373896d70de56b4e608cd..40d9dc8558d2f7988323e1c646b8bcd4994ea4cc 100644
--- a/chrome/browser/browsing_data/browsing_data_cookie_helper.cc
+++ b/chrome/browser/browsing_data/browsing_data_cookie_helper.cc
@@ -128,9 +128,8 @@ size_t CannedBrowsingDataCookieHelper::GetCookieCount() const {
return count;
}
-
void CannedBrowsingDataCookieHelper::StartFetching(
- const net::CookieStore::GetCookieListCallback& callback) {
+ const FetchCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
net::CookieList cookie_list;
for (const auto& pair : origin_cookie_set_map_) {

Powered by Google App Engine
This is Rietveld 408576698