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

Unified Diff: content/browser/devtools/protocol/network_handler.cc

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: content/browser/devtools/protocol/network_handler.cc
diff --git a/content/browser/devtools/protocol/network_handler.cc b/content/browser/devtools/protocol/network_handler.cc
index 5c2c7238475c39f1a4c801485b44071ebf97c2ac..a1355047224fd35863122d0e00057211d1330d5c 100644
--- a/content/browser/devtools/protocol/network_handler.cc
+++ b/content/browser/devtools/protocol/network_handler.cc
@@ -6,6 +6,8 @@
#include <stddef.h>
+#include <cstdint>
+
#include "base/barrier_closure.h"
#include "base/base64.h"
#include "base/command_line.h"
@@ -190,7 +192,7 @@ class CookieRetriever : public base::RefCountedThreadSafe<CookieRetriever> {
};
void ClearedCookiesOnIO(std::unique_ptr<ClearBrowserCookiesCallback> callback,
- int num_deleted) {
+ uint32_t num_deleted) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
base::Bind(&ClearBrowserCookiesCallback::sendSuccess,

Powered by Google App Engine
This is Rietveld 408576698