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

Unified Diff: net/url_request/url_request_job.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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
« no previous file with comments | « net/url_request/url_request_intercepting_job_factory.h ('k') | net/url_request/url_request_job_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job.h
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index d53a8493d9f01a854cd6bd9ee628ac60df96eed0..2fbf70e39bcf415e06a9f9230095b046f11ff4bb 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -214,8 +214,8 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
bool is_done() const { return done_; }
// Get/Set expected content size
- int64 expected_content_size() const { return expected_content_size_; }
- void set_expected_content_size(const int64& size) {
+ int64_t expected_content_size() const { return expected_content_size_; }
+ void set_expected_content_size(const int64_t& size) {
expected_content_size_ = size;
}
@@ -345,11 +345,11 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
// The number of bytes read before passing to the filter. This value reflects
// bytes read even when there is no filter.
- int64 prefilter_bytes_read() const { return prefilter_bytes_read_; }
+ int64_t prefilter_bytes_read() const { return prefilter_bytes_read_; }
// The number of bytes read after passing through the filter. This value
// reflects bytes read even when there is no filter.
- int64 postfilter_bytes_read() const { return postfilter_bytes_read_; }
+ int64_t postfilter_bytes_read() const { return postfilter_bytes_read_; }
// Turns an integer result code into an Error and a count of bytes read.
// The semantics are:
@@ -426,8 +426,8 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
// NotifyDone so that it is kept in sync with the request.
bool done_;
- int64 prefilter_bytes_read_;
- int64 postfilter_bytes_read_;
+ int64_t prefilter_bytes_read_;
+ int64_t postfilter_bytes_read_;
// The data stream filter which is enabled on demand.
scoped_ptr<Filter> filter_;
@@ -452,7 +452,7 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
bool has_handled_response_;
// Expected content size
- int64 expected_content_size_;
+ int64_t expected_content_size_;
// Set when a redirect is deferred.
RedirectInfo deferred_redirect_info_;
« no previous file with comments | « net/url_request/url_request_intercepting_job_factory.h ('k') | net/url_request/url_request_job_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698