OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__ | 5 #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__ |
6 #define NET_HTTP_HTTP_REQUEST_INFO_H__ | 6 #define NET_HTTP_HTTP_REQUEST_INFO_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
12 #include "net/base/privacy_mode.h" | 11 #include "net/base/privacy_mode.h" |
13 #include "net/http/http_request_headers.h" | 12 #include "net/http/http_request_headers.h" |
14 #include "url/gurl.h" | 13 #include "url/gurl.h" |
15 | 14 |
16 namespace net { | 15 namespace net { |
17 | 16 |
18 class UploadDataStream; | 17 class UploadDataStream; |
19 | 18 |
20 struct NET_EXPORT HttpRequestInfo { | 19 struct NET_EXPORT HttpRequestInfo { |
(...skipping 29 matching lines...) Expand all Loading... |
50 RequestMotivation motivation; | 49 RequestMotivation motivation; |
51 | 50 |
52 // If enabled, then request must be sent over connection that cannot be | 51 // If enabled, then request must be sent over connection that cannot be |
53 // tracked by the server (e.g. without channel id). | 52 // tracked by the server (e.g. without channel id). |
54 PrivacyMode privacy_mode; | 53 PrivacyMode privacy_mode; |
55 }; | 54 }; |
56 | 55 |
57 } // namespace net | 56 } // namespace net |
58 | 57 |
59 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ | 58 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ |
OLD | NEW |