Home | History | Annotate | Download | only in http

Lines Matching refs:PartialData

30 // A core object that can be detached from the Partialdata object at destruction
32 class PartialData::Core {
35 static Core* CreateCore(PartialData* owner) {
40 // PartialData::GetAvailableRangeCompleted() will be invoked on the owner
50 explicit Core(PartialData* owner);
56 PartialData* owner_;
62 PartialData::Core::Core(PartialData* owner)
68 PartialData::Core::~Core() {
73 void PartialData::Core::Cancel() {
78 int PartialData::Core::GetAvailableRange(disk_cache::Entry* entry, int64 offset,
81 offset, len, &start_, base::Bind(&PartialData::Core::OnIOComplete,
91 void PartialData::Core::OnIOComplete(int result) {
99 PartialData::PartialData()
108 PartialData::~PartialData() {
113 bool PartialData::Init(const HttpRequestHeaders& headers) {
135 void PartialData::SetHeaders(const HttpRequestHeaders& headers) {
140 void PartialData::RestoreHeaders(HttpRequestHeaders* headers) const {
159 int PartialData::ShouldValidateCache(disk_cache::Entry* entry,
198 void PartialData::PrepareCacheValidation(disk_cache::Entry* entry,
235 bool PartialData::IsCurrentRangeCached() const {
239 bool PartialData::IsLastRange() const {
243 bool PartialData::UpdateFromStoredHeaders(const HttpResponseHeaders* headers,
296 void PartialData::SetRangeToStartDownload() {
304 bool PartialData::IsRequestedRangeOK() {
326 bool PartialData::ResponseHeadersOK(const HttpResponseHeaders* headers) {
380 void PartialData::FixResponseHeaders(HttpResponseHeaders* headers,
421 void PartialData::FixContentLength(HttpResponseHeaders* headers) {
427 int PartialData::CacheRead(
448 int PartialData::CacheWrite(
464 void PartialData::OnCacheReadCompleted(int result) {
473 void PartialData::OnNetworkReadCompleted(int result) {
478 int PartialData::GetNextRangeLen() {
488 void PartialData::GetAvailableRangeCompleted(int result, int64 start) {