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

Unified Diff: ios/chrome/browser/net/cookie_util.mm

Issue 2971733002: Change CookieStore::DeleteCallback to take uint32_t. (Closed)
Patch Set: Fixed Android webview compilation errors. 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: ios/chrome/browser/net/cookie_util.mm
diff --git a/ios/chrome/browser/net/cookie_util.mm b/ios/chrome/browser/net/cookie_util.mm
index 48a2187775c100e41acfce2cbb34e57af90aa622..9078cda81d29c1735fa58af910aeeb6a8cef9509 100644
--- a/ios/chrome/browser/net/cookie_util.mm
+++ b/ios/chrome/browser/net/cookie_util.mm
@@ -8,6 +8,8 @@
#include <stddef.h>
#include <sys/sysctl.h>
+#include <cstdint>
+
#include "base/logging.h"
#import "base/mac/bind_objc_block.h"
#include "base/memory/ptr_util.h"
@@ -34,7 +36,7 @@ namespace {
NSString* const kLastCookieDeletionDate = @"LastCookieDeletionDate";
// Empty callback.
-void DoNothing(int n) {}
+void DoNothing(uint32_t n) {}
// Creates a SQLitePersistentCookieStore running on a background thread.
scoped_refptr<net::SQLitePersistentCookieStore> CreatePersistentCookieStore(

Powered by Google App Engine
This is Rietveld 408576698