Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_REQUEST_INFO_H_ | |
| 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_REQUEST_INFO_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "net/base/net_export.h" | |
| 11 #include "net/http/http_request_headers.h" | |
| 12 #include "url/gurl.h" | |
| 13 | |
| 14 namespace net { | |
|
mef
2015/12/14 17:59:01
nit: add newline.
xunjieli
2015/12/14 19:34:41
Done.
| |
| 15 struct NET_EXPORT BidirectionalStreamRequestInfo { | |
|
mef
2015/12/14 17:59:01
I think we need a description for publicly exporte
xunjieli
2015/12/14 19:34:41
Done.
| |
| 16 BidirectionalStreamRequestInfo(); | |
| 17 ~BidirectionalStreamRequestInfo(); | |
| 18 | |
| 19 // The requested URL. | |
| 20 GURL url; | |
| 21 | |
| 22 // The method to use (GET, POST, etc.). | |
| 23 std::string method; | |
| 24 | |
| 25 // Any extra request headers (including User-Agent). | |
| 26 HttpRequestHeaders extra_headers; | |
| 27 | |
| 28 // Whether END_STREAM should be set on the request HEADER frame. | |
| 29 bool end_stream_on_headers; | |
| 30 }; | |
| 31 | |
| 32 } // namespace net | |
| 33 | |
| 34 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_REQUEST_INFO_H_ | |
| OLD | NEW |