| Index: net/http/http_util.cc
|
| diff --git a/net/http/http_util.cc b/net/http/http_util.cc
|
| index f1e5143e701a5334499dccc9a814ae4c96d2023b..2b3db6dc6d512ef6ebf6fde7b24a0e51b8cee521 100644
|
| --- a/net/http/http_util.cc
|
| +++ b/net/http/http_util.cc
|
| @@ -9,7 +9,6 @@
|
|
|
| #include <algorithm>
|
|
|
| -#include "base/basictypes.h"
|
| #include "base/logging.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_piece.h"
|
| @@ -18,7 +17,6 @@
|
| #include "base/strings/stringprintf.h"
|
| #include "base/time/time.h"
|
|
|
| -
|
| namespace net {
|
|
|
| // Helpers --------------------------------------------------------------------
|
| @@ -210,7 +208,7 @@ bool HttpUtil::ParseRangeHeader(const std::string& ranges_specifier,
|
| HttpByteRange range;
|
| // Try to obtain first-byte-pos.
|
| if (!first_byte_pos.empty()) {
|
| - int64 first_byte_position = -1;
|
| + int64_t first_byte_position = -1;
|
| if (!base::StringToInt64(first_byte_pos, &first_byte_position))
|
| return false;
|
| range.set_first_byte_position(first_byte_position);
|
| @@ -225,7 +223,7 @@ bool HttpUtil::ParseRangeHeader(const std::string& ranges_specifier,
|
|
|
| // We have last-byte-pos or suffix-byte-range-spec in this case.
|
| if (!last_byte_pos.empty()) {
|
| - int64 last_byte_position;
|
| + int64_t last_byte_position;
|
| if (!base::StringToInt64(last_byte_pos, &last_byte_position))
|
| return false;
|
| if (range.HasFirstBytePosition())
|
|
|