blob: 82306d63ce26c5029d6a923d694be7f386757c1e [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/values.h"
#include "net/base/net_export.h"
#include "net/base/request_priority.h"
#include "net/quic/quic_protocol.h"
#include "net/spdy/spdy_header_block.h"
namespace net {
NET_EXPORT_PRIVATE QuicPriority ConvertRequestPriorityToQuicPriority(
RequestPriority priority);
NET_EXPORT_PRIVATE RequestPriority ConvertQuicPriorityToRequestPriority(
QuicPriority priority);
// Converts a SpdyHeaderBlock and priority into NetLog event parameters.
NET_EXPORT scoped_ptr<base::Value> QuicRequestNetLogCallback(
QuicStreamId stream_id,
const SpdyHeaderBlock* headers,
QuicPriority priority,
NetLogCaptureMode capture_mode);
} // namespace net