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 20 matching lines...) Expand all Loading... |
31 #include "platform/blob/BlobData.h" | 31 #include "platform/blob/BlobData.h" |
32 #include "platform/network/HTTPHeaderMap.h" | 32 #include "platform/network/HTTPHeaderMap.h" |
33 #include "platform/network/HTTPParsers.h" | 33 #include "platform/network/HTTPParsers.h" |
34 #include "platform/network/ResourceLoadInfo.h" | 34 #include "platform/network/ResourceLoadInfo.h" |
35 #include "platform/network/ResourceLoadTiming.h" | 35 #include "platform/network/ResourceLoadTiming.h" |
36 #include "platform/weborigin/KURL.h" | 36 #include "platform/weborigin/KURL.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
39 #include "wtf/text/CString.h" | 39 #include "wtf/text/CString.h" |
40 | 40 |
41 namespace WebCore { | 41 namespace blink { |
42 | 42 |
43 struct CrossThreadResourceResponseData; | 43 struct CrossThreadResourceResponseData; |
44 | 44 |
45 class PLATFORM_EXPORT ResourceResponse { | 45 class PLATFORM_EXPORT ResourceResponse { |
46 WTF_MAKE_FAST_ALLOCATED; | 46 WTF_MAKE_FAST_ALLOCATED; |
47 public: | 47 public: |
48 enum HTTPVersion { Unknown, HTTP_0_9, HTTP_1_0, HTTP_1_1 }; | 48 enum HTTPVersion { Unknown, HTTP_0_9, HTTP_1_0, HTTP_1_1 }; |
49 | 49 |
50 class ExtraData : public RefCounted<ExtraData> { | 50 class ExtraData : public RefCounted<ExtraData> { |
51 public: | 51 public: |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 bool m_wasAlternateProtocolAvailable; | 306 bool m_wasAlternateProtocolAvailable; |
307 bool m_wasFetchedViaProxy; | 307 bool m_wasFetchedViaProxy; |
308 bool m_wasFetchedViaServiceWorker; | 308 bool m_wasFetchedViaServiceWorker; |
309 double m_responseTime; | 309 double m_responseTime; |
310 String m_remoteIPAddress; | 310 String m_remoteIPAddress; |
311 unsigned short m_remotePort; | 311 unsigned short m_remotePort; |
312 String m_downloadedFilePath; | 312 String m_downloadedFilePath; |
313 RefPtr<BlobDataHandle> m_downloadedFileHandle; | 313 RefPtr<BlobDataHandle> m_downloadedFileHandle; |
314 }; | 314 }; |
315 | 315 |
316 } // namespace WebCore | 316 } // namespace blink |
317 | 317 |
318 #endif // ResourceResponse_h | 318 #endif // ResourceResponse_h |
OLD | NEW |