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

Unified Diff: content/browser/appcache/appcache_disk_cache.h

Issue 1499423004: Remove kint32max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint9
Patch Set: rebase Created 5 years 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/appcache/appcache_disk_cache.h
diff --git a/content/browser/appcache/appcache_disk_cache.h b/content/browser/appcache/appcache_disk_cache.h
index 98ac3c0a69f3a29ae14e650a0c65f8ea144d52d7..2b8c29993b4444ed7b9b19e33b94520971780ed4 100644
--- a/content/browser/appcache/appcache_disk_cache.h
+++ b/content/browser/appcache/appcache_disk_cache.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_
+#include <stdint.h>
+
#include <set>
#include <vector>
@@ -44,13 +46,13 @@ class CONTENT_EXPORT AppCacheDiskCache
void Disable();
bool is_disabled() const { return is_disabled_; }
- int CreateEntry(int64 key,
+ int CreateEntry(int64_t key,
Entry** entry,
const net::CompletionCallback& callback) override;
- int OpenEntry(int64 key,
+ int OpenEntry(int64_t key,
Entry** entry,
const net::CompletionCallback& callback) override;
- int DoomEntry(int64 key, const net::CompletionCallback& callback) override;
+ int DoomEntry(int64_t key, const net::CompletionCallback& callback) override;
void set_is_waiting_to_initialize(bool is_waiting_to_initialize) {
is_waiting_to_initialize_ = is_waiting_to_initialize;
@@ -76,14 +78,16 @@ class CONTENT_EXPORT AppCacheDiskCache
};
struct PendingCall {
PendingCallType call_type;
- int64 key;
+ int64_t key;
Entry** entry;
net::CompletionCallback callback;
PendingCall();
- PendingCall(PendingCallType call_type, int64 key,
- Entry** entry, const net::CompletionCallback& callback);
+ PendingCall(PendingCallType call_type,
+ int64_t key,
+ Entry** entry,
+ const net::CompletionCallback& callback);
~PendingCall();
};
« no previous file with comments | « cloud_print/gcp20/prototype/cloud_print_requester.cc ('k') | content/browser/appcache/appcache_disk_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698