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

Unified Diff: net/cookies/cookie_store.h

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: net/cookies/cookie_store.h
diff --git a/net/cookies/cookie_store.h b/net/cookies/cookie_store.h
index 9ef7535707e26227c7177e072295d2dd081981d9..93c9aa04f8efa7595b75724b0a7cf5e30e721e1f 100644
--- a/net/cookies/cookie_store.h
+++ b/net/cookies/cookie_store.h
@@ -7,6 +7,7 @@
#ifndef NET_COOKIES_COOKIE_STORE_H_
#define NET_COOKIES_COOKIE_STORE_H_
+#include <cstdint>
mmenke 2017/07/05 16:58:49 stdint.h?
Randy Smith (Not in Mondays) 2017/07/08 13:03:26 Done.
#include <memory>
#include <string>
#include <vector>
@@ -69,7 +70,7 @@ class NET_EXPORT CookieStore {
typedef base::OnceCallback<void(const std::string& cookie)>
GetCookiesCallback;
typedef base::OnceCallback<void(bool success)> SetCookiesCallback;
- typedef base::OnceCallback<void(int num_deleted)> DeleteCallback;
+ typedef base::OnceCallback<void(uint32_t num_deleted)> DeleteCallback;
typedef base::Callback<void(const CanonicalCookie& cookie, ChangeCause cause)>
CookieChangedCallback;

Powered by Google App Engine
This is Rietveld 408576698