Lines Matching refs:PartialData
41 // A core object that can be detached from the Partialdata object at destruction
43 class PartialData::Core {
46 static Core* CreateCore(PartialData* owner) {
51 // PartialData::GetAvailableRangeCompleted() will be invoked on the owner
61 explicit Core(PartialData* owner);
67 PartialData* owner_;
73 PartialData::Core::Core(PartialData* owner)
80 PartialData::Core::~Core() {
85 void PartialData::Core::Cancel() {
90 int PartialData::Core::GetAvailableRange(disk_cache::Entry* entry, int64 offset,
101 void PartialData::Core::OnIOComplete(int result) {
109 PartialData::PartialData()
119 PartialData::~PartialData() {
124 bool PartialData::Init(const HttpRequestHeaders& headers) {
146 void PartialData::SetHeaders(const HttpRequestHeaders& headers) {
151 void PartialData::RestoreHeaders(HttpRequestHeaders* headers) const {
161 int PartialData::ShouldValidateCache(disk_cache::Entry* entry,
200 void PartialData::PrepareCacheValidation(disk_cache::Entry* entry,
231 bool PartialData::IsCurrentRangeCached() const {
235 bool PartialData::IsLastRange() const {
239 bool PartialData::UpdateFromStoredHeaders(const HttpResponseHeaders* headers,
289 void PartialData::SetRangeToStartDownload() {
297 bool PartialData::IsRequestedRangeOK() {
319 bool PartialData::ResponseHeadersOK(const HttpResponseHeaders* headers) {
369 void PartialData::FixResponseHeaders(HttpResponseHeaders* headers,
410 void PartialData::FixContentLength(HttpResponseHeaders* headers) {
416 int PartialData::CacheRead(disk_cache::Entry* entry, IOBuffer* data,
436 int PartialData::CacheWrite(disk_cache::Entry* entry, IOBuffer* data,
451 void PartialData::OnCacheReadCompleted(int result) {
460 void PartialData::OnNetworkReadCompleted(int result) {
465 int PartialData::GetNextRangeLen() {
475 void PartialData::GetAvailableRangeCompleted(int result, int64 start) {