| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 WEBKIT_COMMON_RESOURCE_RESPONSE_INFO_H_ | 5 #ifndef WEBKIT_COMMON_RESOURCE_RESPONSE_INFO_H_ |
| 6 #define WEBKIT_COMMON_RESOURCE_RESPONSE_INFO_H_ | 6 #define WEBKIT_COMMON_RESOURCE_RESPONSE_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "googleurl/src/gurl.h" | |
| 15 #include "net/base/host_port_pair.h" | 14 #include "net/base/host_port_pair.h" |
| 16 #include "net/base/load_timing_info.h" | 15 #include "net/base/load_timing_info.h" |
| 17 #include "net/http/http_response_info.h" | 16 #include "net/http/http_response_info.h" |
| 17 #include "url/gurl.h" |
| 18 #include "webkit/common/resource_devtools_info.h" | 18 #include "webkit/common/resource_devtools_info.h" |
| 19 | 19 |
| 20 namespace webkit_glue { | 20 namespace webkit_glue { |
| 21 | 21 |
| 22 struct ResourceResponseInfo { | 22 struct ResourceResponseInfo { |
| 23 WEBKIT_COMMON_EXPORT ResourceResponseInfo(); | 23 WEBKIT_COMMON_EXPORT ResourceResponseInfo(); |
| 24 WEBKIT_COMMON_EXPORT ~ResourceResponseInfo(); | 24 WEBKIT_COMMON_EXPORT ~ResourceResponseInfo(); |
| 25 | 25 |
| 26 // The time at which the request was made that resulted in this response. | 26 // The time at which the request was made that resulted in this response. |
| 27 // For cached responses, this time could be "far" in the past. | 27 // For cached responses, this time could be "far" in the past. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 // NPN protocol negotiated with the server. | 94 // NPN protocol negotiated with the server. |
| 95 std::string npn_negotiated_protocol; | 95 std::string npn_negotiated_protocol; |
| 96 | 96 |
| 97 // Remote address of the socket which fetched this resource. | 97 // Remote address of the socket which fetched this resource. |
| 98 net::HostPortPair socket_address; | 98 net::HostPortPair socket_address; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace webkit_glue | 101 } // namespace webkit_glue |
| 102 | 102 |
| 103 #endif // WEBKIT_COMMON_RESOURCE_RESPONSE_INFO_H_ | 103 #endif // WEBKIT_COMMON_RESOURCE_RESPONSE_INFO_H_ |
| OLD | NEW |