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

Unified Diff: chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc

Issue 2971733002: Change CookieStore::DeleteCallback to take uint32_t. (Closed)
Patch Set: Got rid of rest of <cstdint> stuff. Created 3 years, 5 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/chrome_browsing_data_remover_delegate.cc
diff --git a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
index 44fee5aa19354f79fb9c39d11ba6160f59f985cb..9b45f0f2a70a430d497f012245b5aba8f6ca05d6 100644
--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
+++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h"
+#include <stdint.h>
+
#include <set>
#include <string>
#include <utility>
@@ -192,8 +194,8 @@ void ClearCookiesOnIOThread(base::Time delete_begin,
DCHECK_CURRENTLY_ON(BrowserThread::IO);
net::CookieStore* cookie_store =
rq_context->GetURLRequestContext()->cookie_store();
- cookie_store->DeleteAllCreatedBetweenAsync(delete_begin, delete_end,
- IgnoreArgument<int>(callback));
+ cookie_store->DeleteAllCreatedBetweenAsync(
+ delete_begin, delete_end, IgnoreArgument<uint32_t>(callback));
}
void ClearCookiesWithPredicateOnIOThread(
@@ -206,7 +208,7 @@ void ClearCookiesWithPredicateOnIOThread(
net::CookieStore* cookie_store =
rq_context->GetURLRequestContext()->cookie_store();
cookie_store->DeleteAllCreatedBetweenWithPredicateAsync(
- delete_begin, delete_end, predicate, IgnoreArgument<int>(callback));
+ delete_begin, delete_end, predicate, IgnoreArgument<uint32_t>(callback));
}
void ClearNetworkPredictorOnIOThread(chrome_browser_net::Predictor* predictor) {

Powered by Google App Engine
This is Rietveld 408576698