#include <algorithm>
#include "base/check.h"
#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
#include "net/http/http_byte_range.h"
namespace {
const int64_t kPositionNotSpecified = …;
}
namespace net {
HttpByteRange::HttpByteRange()
: … { … }
HttpByteRange HttpByteRange::Bounded(int64_t first_byte_position,
int64_t last_byte_position) { … }
HttpByteRange HttpByteRange::RightUnbounded(int64_t first_byte_position) { … }
HttpByteRange HttpByteRange::Suffix(int64_t suffix_length) { … }
bool HttpByteRange::IsSuffixByteRange() const { … }
bool HttpByteRange::HasFirstBytePosition() const { … }
bool HttpByteRange::HasLastBytePosition() const { … }
bool HttpByteRange::IsValid() const { … }
std::string HttpByteRange::GetHeaderValue() const { … }
bool HttpByteRange::ComputeBounds(int64_t size) { … }
}