| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |    2  * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 
|    3  * Copyright (C) 2009 Google Inc. All rights reserved. |    3  * Copyright (C) 2009 Google Inc. All rights reserved. | 
|    4  * |    4  * | 
|    5  * Redistribution and use in source and binary forms, with or without |    5  * Redistribution and use in source and binary forms, with or without | 
|    6  * modification, are permitted provided that the following conditions |    6  * modification, are permitted provided that the following conditions | 
|    7  * are met: |    7  * are met: | 
|    8  * 1. Redistributions of source code must retain the above copyright |    8  * 1. Redistributions of source code must retain the above copyright | 
|    9  *    notice, this list of conditions and the following disclaimer. |    9  *    notice, this list of conditions and the following disclaimer. | 
|   10  * 2. Redistributions in binary form must reproduce the above copyright |   10  * 2. Redistributions in binary form must reproduce the above copyright | 
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  201  |  201  | 
|  202     WebServiceWorkerResponseType serviceWorkerResponseType() const { return m_se
     rviceWorkerResponseType; } |  202     WebServiceWorkerResponseType serviceWorkerResponseType() const { return m_se
     rviceWorkerResponseType; } | 
|  203     void setServiceWorkerResponseType(WebServiceWorkerResponseType value) { m_se
     rviceWorkerResponseType = value; } |  203     void setServiceWorkerResponseType(WebServiceWorkerResponseType value) { m_se
     rviceWorkerResponseType = value; } | 
|  204  |  204  | 
|  205     const KURL& originalURLViaServiceWorker() const { return m_originalURLViaSer
     viceWorker; } |  205     const KURL& originalURLViaServiceWorker() const { return m_originalURLViaSer
     viceWorker; } | 
|  206     void setOriginalURLViaServiceWorker(const KURL& url) { m_originalURLViaServi
     ceWorker = url; } |  206     void setOriginalURLViaServiceWorker(const KURL& url) { m_originalURLViaServi
     ceWorker = url; } | 
|  207  |  207  | 
|  208     bool isMultipartPayload() const { return m_isMultipartPayload; } |  208     bool isMultipartPayload() const { return m_isMultipartPayload; } | 
|  209     void setIsMultipartPayload(bool value) { m_isMultipartPayload = value; } |  209     void setIsMultipartPayload(bool value) { m_isMultipartPayload = value; } | 
|  210  |  210  | 
|  211     int64 responseTime() const { return m_responseTime; } |  211     int64_t responseTime() const { return m_responseTime; } | 
|  212     void setResponseTime(int64 responseTime) { m_responseTime = responseTime; } |  212     void setResponseTime(int64_t responseTime) { m_responseTime = responseTime; 
     } | 
|  213  |  213  | 
|  214     const AtomicString& remoteIPAddress() const { return m_remoteIPAddress; } |  214     const AtomicString& remoteIPAddress() const { return m_remoteIPAddress; } | 
|  215     void setRemoteIPAddress(const AtomicString& value) { m_remoteIPAddress = val
     ue; } |  215     void setRemoteIPAddress(const AtomicString& value) { m_remoteIPAddress = val
     ue; } | 
|  216  |  216  | 
|  217     unsigned short remotePort() const { return m_remotePort; } |  217     unsigned short remotePort() const { return m_remotePort; } | 
|  218     void setRemotePort(unsigned short value) { m_remotePort = value; } |  218     void setRemotePort(unsigned short value) { m_remotePort = value; } | 
|  219  |  219  | 
|  220     const String& downloadedFilePath() const { return m_downloadedFilePath; } |  220     const String& downloadedFilePath() const { return m_downloadedFilePath; } | 
|  221     void setDownloadedFilePath(const String&); |  221     void setDownloadedFilePath(const String&); | 
|  222  |  222  | 
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  320  |  320  | 
|  321     // The type of the response which was fetched by the ServiceWorker. |  321     // The type of the response which was fetched by the ServiceWorker. | 
|  322     WebServiceWorkerResponseType m_serviceWorkerResponseType; |  322     WebServiceWorkerResponseType m_serviceWorkerResponseType; | 
|  323  |  323  | 
|  324     // The original URL of the response which was fetched by the ServiceWorker. |  324     // The original URL of the response which was fetched by the ServiceWorker. | 
|  325     // This may be empty if the response was created inside the ServiceWorker. |  325     // This may be empty if the response was created inside the ServiceWorker. | 
|  326     KURL m_originalURLViaServiceWorker; |  326     KURL m_originalURLViaServiceWorker; | 
|  327  |  327  | 
|  328     // The time at which the response headers were received.  For cached |  328     // The time at which the response headers were received.  For cached | 
|  329     // responses, this time could be "far" in the past. |  329     // responses, this time could be "far" in the past. | 
|  330     int64 m_responseTime; |  330     int64_t m_responseTime; | 
|  331  |  331  | 
|  332     // Remote IP address of the socket which fetched this resource. |  332     // Remote IP address of the socket which fetched this resource. | 
|  333     AtomicString m_remoteIPAddress; |  333     AtomicString m_remoteIPAddress; | 
|  334  |  334  | 
|  335     // Remote port number of the socket which fetched this resource. |  335     // Remote port number of the socket which fetched this resource. | 
|  336     unsigned short m_remotePort; |  336     unsigned short m_remotePort; | 
|  337  |  337  | 
|  338     // The downloaded file path if the load streamed to a file. |  338     // The downloaded file path if the load streamed to a file. | 
|  339     String m_downloadedFilePath; |  339     String m_downloadedFilePath; | 
|  340  |  340  | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  372     KURL m_appCacheManifestURL; |  372     KURL m_appCacheManifestURL; | 
|  373     bool m_isMultipartPayload; |  373     bool m_isMultipartPayload; | 
|  374     bool m_wasFetchedViaSPDY; |  374     bool m_wasFetchedViaSPDY; | 
|  375     bool m_wasNpnNegotiated; |  375     bool m_wasNpnNegotiated; | 
|  376     bool m_wasAlternateProtocolAvailable; |  376     bool m_wasAlternateProtocolAvailable; | 
|  377     bool m_wasFetchedViaProxy; |  377     bool m_wasFetchedViaProxy; | 
|  378     bool m_wasFetchedViaServiceWorker; |  378     bool m_wasFetchedViaServiceWorker; | 
|  379     bool m_wasFallbackRequiredByServiceWorker; |  379     bool m_wasFallbackRequiredByServiceWorker; | 
|  380     WebServiceWorkerResponseType m_serviceWorkerResponseType; |  380     WebServiceWorkerResponseType m_serviceWorkerResponseType; | 
|  381     KURL m_originalURLViaServiceWorker; |  381     KURL m_originalURLViaServiceWorker; | 
|  382     int64 m_responseTime; |  382     int64_t m_responseTime; | 
|  383     String m_remoteIPAddress; |  383     String m_remoteIPAddress; | 
|  384     unsigned short m_remotePort; |  384     unsigned short m_remotePort; | 
|  385     String m_downloadedFilePath; |  385     String m_downloadedFilePath; | 
|  386     RefPtr<BlobDataHandle> m_downloadedFileHandle; |  386     RefPtr<BlobDataHandle> m_downloadedFileHandle; | 
|  387 }; |  387 }; | 
|  388  |  388  | 
|  389 } // namespace blink |  389 } // namespace blink | 
|  390  |  390  | 
|  391 #endif // ResourceResponse_h |  391 #endif // ResourceResponse_h | 
| OLD | NEW |