#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "net/spdy/http2_priority_dependencies.h"
#include "base/not_fatal_until.h"
#include "base/trace_event/memory_usage_estimator.h"
namespace net {
Http2PriorityDependencies::Http2PriorityDependencies() = default;
Http2PriorityDependencies::~Http2PriorityDependencies() = default;
void Http2PriorityDependencies::OnStreamCreation(
spdy::SpdyStreamId id,
spdy::SpdyPriority priority,
spdy::SpdyStreamId* parent_stream_id,
int* weight,
bool* exclusive) { … }
bool Http2PriorityDependencies::PriorityLowerBound(spdy::SpdyPriority priority,
IdList::iterator* bound) { … }
bool Http2PriorityDependencies::ParentOfStream(spdy::SpdyStreamId id,
IdList::iterator* parent) { … }
bool Http2PriorityDependencies::ChildOfStream(spdy::SpdyStreamId id,
IdList::iterator* child) { … }
std::vector<Http2PriorityDependencies::DependencyUpdate>
Http2PriorityDependencies::OnStreamUpdate(spdy::SpdyStreamId id,
spdy::SpdyPriority new_priority) { … }
void Http2PriorityDependencies::OnStreamDestruction(spdy::SpdyStreamId id) { … }
}