Index: net/quic/core/spdy_utils.h |
diff --git a/net/quic/core/spdy_utils.h b/net/quic/core/spdy_utils.h |
index 36ca93f330cd878c4b5842b2b5d5bf403aa0615d..69ef7546376d2f111e5c373d12fe87f97457e5ba 100644 |
--- a/net/quic/core/spdy_utils.h |
+++ b/net/quic/core/spdy_utils.h |
@@ -67,6 +67,11 @@ class NET_EXPORT_PRIVATE SpdyUtils { |
// and is a well-formed URL. |
static bool UrlIsValid(const net::SpdyHeaderBlock& headers); |
+ // Populates the fields of |headers| to make a GET request of |url|, |
+ // which must be fully-qualified. |
+ static bool PopulateHeaderBlockFromUrl(const std::string url, |
+ SpdyHeaderBlock* headers); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(SpdyUtils); |
}; |