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

Unified Diff: android_webview/browser/cookie_manager.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
« no previous file with comments | « no previous file | android_webview/browser/net/aw_cookie_store_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/cookie_manager.cc
diff --git a/android_webview/browser/cookie_manager.cc b/android_webview/browser/cookie_manager.cc
index cc09e6ed9e196778cc9143a0555210e173710b23..ae33e5a5ace46dbae00a86b233bfd7aef74fb4e6 100644
--- a/android_webview/browser/cookie_manager.cc
+++ b/android_webview/browser/cookie_manager.cc
@@ -4,6 +4,8 @@
#include "android_webview/browser/cookie_manager.h"
+#include <stdint.h>
+
#include <memory>
#include <utility>
#include <vector>
@@ -206,7 +208,7 @@ class CookieManager {
void RemoveSessionCookiesHelper(BoolCallback callback);
void RemoveAllCookiesHelper(BoolCallback callback);
- void RemoveCookiesCompleted(BoolCallback callback, int num_deleted);
+ void RemoveCookiesCompleted(BoolCallback callback, uint32_t num_deleted);
void FlushCookieStoreAsyncHelper(base::Closure complete);
@@ -448,8 +450,8 @@ void CookieManager::RemoveSessionCookiesHelper(BoolCallback callback) {
}
void CookieManager::RemoveCookiesCompleted(BoolCallback callback,
- int num_deleted) {
- callback.Run(num_deleted > 0);
+ uint32_t num_deleted) {
+ callback.Run(num_deleted > 0u);
}
void CookieManager::RemoveAllCookies(
« no previous file with comments | « no previous file | android_webview/browser/net/aw_cookie_store_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698