OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ |
6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 6 #define CONTENT_PUBLIC_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" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
90 // True if the response was fetched via an explicit proxy (as opposed to a | 90 // True if the response was fetched via an explicit proxy (as opposed to a |
91 // transparent proxy). The proxy could be any type of proxy, HTTP or SOCKS. | 91 // transparent proxy). The proxy could be any type of proxy, HTTP or SOCKS. |
92 // Note: we cannot tell if a transparent proxy may have been involved. | 92 // Note: we cannot tell if a transparent proxy may have been involved. |
93 bool was_fetched_via_proxy; | 93 bool was_fetched_via_proxy; |
94 | 94 |
95 // NPN protocol negotiated with the server. | 95 // NPN protocol negotiated with the server. |
96 std::string npn_negotiated_protocol; | 96 std::string npn_negotiated_protocol; |
97 | 97 |
98 // Remote address of the socket which fetched this resource. | 98 // Remote address of the socket which fetched this resource. |
99 net::HostPortPair socket_address; | 99 net::HostPortPair socket_address; |
100 | |
101 // True if the response was fetched via a ServiceWorker. | |
102 bool was_fetched_via_service_worker; | |
103 | |
104 // The original URL of the repsponse which was fetched via the ServiceWorker. | |
tyoshino (SeeGerritForStatus)
2014/07/08 14:27:49
response
horo
2014/07/09 03:15:01
Done.
| |
105 // This may be empty if the repsponse was created inside the ServiceWorker. | |
tyoshino (SeeGerritForStatus)
2014/07/08 14:27:49
response
horo
2014/07/09 03:15:01
Done.
| |
106 GURL original_url_via_service_worker; | |
100 }; | 107 }; |
101 | 108 |
102 } // namespace content | 109 } // namespace content |
103 | 110 |
104 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 111 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ |
OLD | NEW |