Home | History | Annotate | Download | only in http

Lines Matching refs:Core

41 // A core object that can be detached from the Partialdata object at destruction
43 class PartialData::Core {
45 // Build a new core object. Lifetime management is automatic.
46 static Core* CreateCore(PartialData* owner) {
47 return new Core(owner);
61 explicit Core(PartialData* owner);
62 ~Core();
69 net::CompletionCallbackImpl<Core> callback_;
70 DISALLOW_COPY_AND_ASSIGN(Core);
73 PartialData::Core::Core(PartialData* owner)
75 ALLOW_THIS_IN_INITIALIZER_LIST(callback_(this, &Core::OnIOComplete)) {
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) {
174 Core* core = Core::CreateCore(this);
175 cached_min_len_ = core->GetAvailableRange(entry, current_range_start_, len,