| Index: net/quic/quic_http_utils.cc
|
| diff --git a/net/quic/quic_http_utils.cc b/net/quic/quic_http_utils.cc
|
| deleted file mode 100644
|
| index 2bad8a6a71ad7e650fdbaca450b87a57c66059d0..0000000000000000000000000000000000000000
|
| --- a/net/quic/quic_http_utils.cc
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -// 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 "net/quic/quic_http_utils.h"
|
| -
|
| -namespace net {
|
| -
|
| -QuicPriority ConvertRequestPriorityToQuicPriority(
|
| - const RequestPriority priority) {
|
| - DCHECK_GE(priority, MINIMUM_PRIORITY);
|
| - DCHECK_LE(priority, MAXIMUM_PRIORITY);
|
| - return static_cast<QuicPriority>(HIGHEST - priority);
|
| -}
|
| -
|
| -NET_EXPORT_PRIVATE RequestPriority ConvertQuicPriorityToRequestPriority(
|
| - QuicPriority priority) {
|
| - // Handle invalid values gracefully.
|
| - return (priority >= 5) ?
|
| - IDLE : static_cast<RequestPriority>(HIGHEST - priority);
|
| -}
|
| -
|
| -base::Value* QuicRequestNetLogCallback(
|
| - QuicStreamId stream_id,
|
| - const SpdyHeaderBlock* headers,
|
| - QuicPriority priority,
|
| - NetLog::LogLevel log_level) {
|
| - base::DictionaryValue* dict = static_cast<base::DictionaryValue*>(
|
| - SpdyHeaderBlockNetLogCallback(headers, log_level));
|
| - dict->SetInteger("quic_priority", static_cast<int>(priority));
|
| - dict->SetInteger("quic_stream_id", static_cast<int>(stream_id));
|
| - return dict;
|
| -}
|
| -
|
| -} // namespace net
|
|
|