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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_url_request_job.h
diff --git a/content/browser/appcache/appcache_url_request_job.h b/content/browser/appcache/appcache_url_request_job.h
index d3dfcf478c3203e7a51234226bf1b2cb979ff8c5..057c13b98e4f2735efe2bd201152cd6233f94a0d 100644
--- a/content/browser/appcache/appcache_url_request_job.h
+++ b/content/browser/appcache/appcache_url_request_job.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_
+#include <stdint.h>
+
#include <string>
#include "base/callback.h"
@@ -49,8 +51,10 @@ class CONTENT_EXPORT AppCacheURLRequestJob
// Informs the job of what response it should deliver. Only one of these
// methods should be called, and only once per job. A job will sit idle and
// wait indefinitely until one of the deliver methods is called.
- void DeliverAppCachedResponse(const GURL& manifest_url, int64 group_id,
- int64 cache_id, const AppCacheEntry& entry,
+ void DeliverAppCachedResponse(const GURL& manifest_url,
+ int64_t group_id,
+ int64_t cache_id,
+ const AppCacheEntry& entry,
bool is_fallback);
void DeliverNetworkResponse();
void DeliverErrorResponse();
@@ -75,8 +79,8 @@ class CONTENT_EXPORT AppCacheURLRequestJob
// that this job has been instructed to deliver. These are only
// valid to call if is_delivering_appcache_response.
const GURL& manifest_url() const { return manifest_url_; }
- int64 group_id() const { return group_id_; }
- int64 cache_id() const { return cache_id_; }
+ int64_t group_id() const { return group_id_; }
+ int64_t cache_id() const { return cache_id_; }
const AppCacheEntry& entry() const { return entry_; }
// net::URLRequestJob's Kill method is made public so the users of this
@@ -132,8 +136,8 @@ class CONTENT_EXPORT AppCacheURLRequestJob
// AppCacheStorage::Delegate methods
void OnResponseInfoLoaded(AppCacheResponseInfo* response_info,
- int64 response_id) override;
- void OnCacheLoaded(AppCache* cache, int64 cache_id) override;
+ int64_t response_id) override;
+ void OnCacheLoaded(AppCache* cache, int64_t cache_id) override;
const net::HttpResponseInfo* http_info() const;
bool is_range_request() const { return range_requested_.IsValid(); }
@@ -168,8 +172,8 @@ class CONTENT_EXPORT AppCacheURLRequestJob
bool has_been_killed_;
DeliveryType delivery_type_;
GURL manifest_url_;
- int64 group_id_;
- int64 cache_id_;
+ int64_t group_id_;
+ int64_t cache_id_;
AppCacheEntry entry_;
bool is_fallback_;
bool is_main_resource_; // Used for histogram logging.
« no previous file with comments | « content/browser/appcache/appcache_update_job_unittest.cc ('k') | content/browser/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698