Chromium Code Reviews| Index: Source/platform/network/ResourceResponse.h |
| diff --git a/Source/platform/network/ResourceResponse.h b/Source/platform/network/ResourceResponse.h |
| index c6ffd6295d620651941212f5b2a6dc8943b5b8e8..8eb3b6c799859777351395d18dcc45859c9592e9 100644 |
| --- a/Source/platform/network/ResourceResponse.h |
| +++ b/Source/platform/network/ResourceResponse.h |
| @@ -159,6 +159,9 @@ public: |
| bool wasFetchedViaProxy() const { return m_wasFetchedViaProxy; } |
| void setWasFetchedViaProxy(bool value) { m_wasFetchedViaProxy = value; } |
| + bool wasFetchedViaServiceWorker() const { return m_wasFetchedViaServiceWorker; } |
| + void setWasFetchedViaServiceWorker(bool value) { m_wasFetchedViaServiceWorker = value; } |
| + |
| bool isMultipartPayload() const { return m_isMultipartPayload; } |
| void setIsMultipartPayload(bool value) { m_isMultipartPayload = value; } |
| @@ -251,6 +254,9 @@ private: |
| // Was the resource fetched over an explicit proxy (HTTP, SOCKS, etc). |
| bool m_wasFetchedViaProxy; |
| + // Was the resource fetched over ServiceWorker. |
|
tyoshino (SeeGerritForStatus)
2014/07/07 06:41:19
a ServiceWorker?
horo
2014/07/07 06:52:35
Done.
|
| + bool m_wasFetchedViaServiceWorker; |
| + |
| // The time at which the response headers were received. For cached |
| // responses, this time could be "far" in the past. |
| double m_responseTime; |
| @@ -298,6 +304,7 @@ public: |
| bool m_wasNpnNegotiated; |
| bool m_wasAlternateProtocolAvailable; |
| bool m_wasFetchedViaProxy; |
| + bool m_wasFetchedViaServiceWorker; |
| double m_responseTime; |
| String m_remoteIPAddress; |
| unsigned short m_remotePort; |