| Index: content/browser/appcache/appcache.cc
|
| diff --git a/content/browser/appcache/appcache.cc b/content/browser/appcache/appcache.cc
|
| index aa0b224bd7e8b060d402aa20b9465ee36b815275..f97d9cce9164b6a5529d3116317ee7c683baf93f 100644
|
| --- a/content/browser/appcache/appcache.cc
|
| +++ b/content/browser/appcache/appcache.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/browser/appcache/appcache.h"
|
|
|
| +#include <stddef.h>
|
| +
|
| #include <algorithm>
|
|
|
| #include "base/logging.h"
|
| @@ -16,7 +18,7 @@
|
|
|
| namespace content {
|
|
|
| -AppCache::AppCache(AppCacheStorage* storage, int64 cache_id)
|
| +AppCache::AppCache(AppCacheStorage* storage, int64_t cache_id)
|
| : cache_id_(cache_id),
|
| owning_group_(NULL),
|
| online_whitelist_all_(false),
|
| @@ -73,7 +75,8 @@ AppCacheEntry* AppCache::GetEntry(const GURL& url) {
|
| }
|
|
|
| const AppCacheEntry* AppCache::GetEntryAndUrlWithResponseId(
|
| - int64 response_id, GURL* optional_url_out) {
|
| + int64_t response_id,
|
| + GURL* optional_url_out) {
|
| for (EntryMap::const_iterator iter = entries_.begin();
|
| iter != entries_.end(); ++iter) {
|
| if (iter->second.response_id() == response_id) {
|
| @@ -85,7 +88,7 @@ const AppCacheEntry* AppCache::GetEntryAndUrlWithResponseId(
|
| return NULL;
|
| }
|
|
|
| -AppCacheExecutableHandler* AppCache::GetExecutableHandler(int64 response_id) {
|
| +AppCacheExecutableHandler* AppCache::GetExecutableHandler(int64_t response_id) {
|
| HandlerMap::const_iterator found = executable_handlers_.find(response_id);
|
| if (found != executable_handlers_.end())
|
| return found->second;
|
| @@ -93,7 +96,8 @@ AppCacheExecutableHandler* AppCache::GetExecutableHandler(int64 response_id) {
|
| }
|
|
|
| AppCacheExecutableHandler* AppCache::GetOrCreateExecutableHandler(
|
| - int64 response_id, net::IOBuffer* handler_source) {
|
| + int64_t response_id,
|
| + net::IOBuffer* handler_source) {
|
| AppCacheExecutableHandler* handler = GetExecutableHandler(response_id);
|
| if (handler)
|
| return handler;
|
|
|