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

Unified Diff: net/url_request/url_request.h

Issue 1502503004: Remove kuint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint8
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: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index bb7d4d68d68d781617e75e0dd178e30312385f78..743b548c1d4ca557601e9d94eba6359f625267a3 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -603,7 +603,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
const BoundNetLog& net_log() const { return net_log_; }
// Returns the expected content size if available
- int64 GetExpectedContentSize() const;
+ int64_t GetExpectedContentSize() const;
// Returns the priority level for this request.
RequestPriority priority() const { return priority_; }
@@ -626,14 +626,14 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
void set_stack_trace(const base::debug::StackTrace& stack_trace);
const base::debug::StackTrace* stack_trace() const;
- void set_received_response_content_length(int64 received_content_length) {
+ void set_received_response_content_length(int64_t received_content_length) {
received_response_content_length_ = received_content_length;
}
// The number of bytes in the raw response body (before any decompression,
// etc.). This is only available after the final Read completes. Not available
// for FTP responses.
- int64 received_response_content_length() const {
+ int64_t received_response_content_length() const {
return received_response_content_length_;
}
@@ -813,7 +813,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// needs to be done outside of the URLRequest anyway. Therefore, this
// identifier should be deleted here. http://crbug.com/89321
// A globally unique identifier for this request.
- const uint64 identifier_;
+ const uint64_t identifier_;
// True if this request is currently calling a delegate, or is blocked waiting
// for the URL request or network delegate to resume it.
@@ -842,7 +842,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
AuthCredentials auth_credentials_;
scoped_refptr<AuthChallengeInfo> auth_info_;
- int64 received_response_content_length_;
+ int64_t received_response_content_length_;
base::TimeTicks creation_time_;

Powered by Google App Engine
This is Rietveld 408576698