| 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 16 matching lines...) Expand all Loading... |
| 27 #ifndef ResourceResponse_h | 27 #ifndef ResourceResponse_h |
| 28 #define ResourceResponse_h | 28 #define ResourceResponse_h |
| 29 | 29 |
| 30 #include "platform/PlatformExport.h" | 30 #include "platform/PlatformExport.h" |
| 31 #include "platform/blob/BlobData.h" | 31 #include "platform/blob/BlobData.h" |
| 32 #include "platform/loader/fetch/ResourceLoadInfo.h" | 32 #include "platform/loader/fetch/ResourceLoadInfo.h" |
| 33 #include "platform/loader/fetch/ResourceLoadTiming.h" | 33 #include "platform/loader/fetch/ResourceLoadTiming.h" |
| 34 #include "platform/network/HTTPHeaderMap.h" | 34 #include "platform/network/HTTPHeaderMap.h" |
| 35 #include "platform/network/HTTPParsers.h" | 35 #include "platform/network/HTTPParsers.h" |
| 36 #include "platform/weborigin/KURL.h" | 36 #include "platform/weborigin/KURL.h" |
| 37 #include "platform/wtf/RefCounted.h" |
| 38 #include "platform/wtf/RefPtr.h" |
| 39 #include "platform/wtf/Vector.h" |
| 40 #include "platform/wtf/text/CString.h" |
| 37 #include "public/platform/WebURLResponse.h" | 41 #include "public/platform/WebURLResponse.h" |
| 38 #include "public/platform/modules/serviceworker/WebServiceWorkerResponseType.h" | 42 #include "public/platform/modules/serviceworker/WebServiceWorkerResponseType.h" |
| 39 #include "wtf/RefCounted.h" | |
| 40 #include "wtf/RefPtr.h" | |
| 41 #include "wtf/Vector.h" | |
| 42 #include "wtf/text/CString.h" | |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 struct CrossThreadResourceResponseData; | 46 struct CrossThreadResourceResponseData; |
| 47 | 47 |
| 48 class PLATFORM_EXPORT ResourceResponse final { | 48 class PLATFORM_EXPORT ResourceResponse final { |
| 49 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 49 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 50 | 50 |
| 51 public: | 51 public: |
| 52 enum HTTPVersion { | 52 enum HTTPVersion { |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 long long m_encodedDataLength; | 540 long long m_encodedDataLength; |
| 541 long long m_encodedBodyLength; | 541 long long m_encodedBodyLength; |
| 542 long long m_decodedBodyLength; | 542 long long m_decodedBodyLength; |
| 543 String m_downloadedFilePath; | 543 String m_downloadedFilePath; |
| 544 RefPtr<BlobDataHandle> m_downloadedFileHandle; | 544 RefPtr<BlobDataHandle> m_downloadedFileHandle; |
| 545 }; | 545 }; |
| 546 | 546 |
| 547 } // namespace blink | 547 } // namespace blink |
| 548 | 548 |
| 549 #endif // ResourceResponse_h | 549 #endif // ResourceResponse_h |
| OLD | NEW |