Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: net/spdy/spdy_http_utils.h

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_http_stream_unittest.cc ('k') | net/spdy/spdy_http_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_http_utils.h
diff --git a/net/spdy/spdy_http_utils.h b/net/spdy/spdy_http_utils.h
deleted file mode 100644
index 7181323bebc413525cb7f14f21c4c0685c7b8986..0000000000000000000000000000000000000000
--- a/net/spdy/spdy_http_utils.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef NET_SPDY_SPDY_HTTP_UTILS_H_
-#define NET_SPDY_SPDY_HTTP_UTILS_H_
-
-#include "net/base/net_export.h"
-#include "net/base/request_priority.h"
-#include "net/spdy/spdy_framer.h"
-#include "net/spdy/spdy_header_block.h"
-#include "net/spdy/spdy_protocol.h"
-#include "url/gurl.h"
-
-namespace net {
-
-class HttpResponseInfo;
-struct HttpRequestInfo;
-class HttpRequestHeaders;
-
-// Convert a SpdyHeaderBlock into an HttpResponseInfo.
-// |headers| input parameter with the SpdyHeaderBlock.
-// |response| output parameter for the HttpResponseInfo.
-// Returns true if successfully converted. False if the SpdyHeaderBlock is
-// incomplete (e.g. missing 'status' or 'version').
-NET_EXPORT bool SpdyHeadersToHttpResponse(
- const SpdyHeaderBlock& headers,
- HttpResponseInfo* response);
-
-// Create a SpdyHeaderBlock from HttpRequestInfo and HttpRequestHeaders.
-NET_EXPORT void CreateSpdyHeadersFromHttpRequest(
- const HttpRequestInfo& info,
- const HttpRequestHeaders& request_headers,
- bool direct,
- SpdyHeaderBlock* headers);
-
-// Create HttpRequestHeaders from SpdyHeaderBlock.
-NET_EXPORT void ConvertHeaderBlockToHttpRequestHeaders(
- const SpdyHeaderBlock& spdy_headers,
- HttpRequestHeaders* http_headers);
-
-// Returns the URL associated with the |headers| by assembling the
-// scheme, host and path from the protocol specific keys.
-NET_EXPORT GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers);
-
-NET_EXPORT SpdyPriority
-ConvertRequestPriorityToSpdyPriority(RequestPriority priority);
-
-NET_EXPORT RequestPriority
-ConvertSpdyPriorityToRequestPriority(SpdyPriority priority);
-
-} // namespace net
-
-#endif // NET_SPDY_SPDY_HTTP_UTILS_H_
« no previous file with comments | « net/spdy/spdy_http_stream_unittest.cc ('k') | net/spdy/spdy_http_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698