| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "core/fileapi/File.h" | 30 #include "core/fileapi/File.h" |
| 31 #include "core/platform/network/HTTPHeaderMap.h" | 31 #include "core/platform/network/HTTPHeaderMap.h" |
| 32 #include "core/platform/network/ResourceLoadInfo.h" | 32 #include "core/platform/network/ResourceLoadInfo.h" |
| 33 #include "core/platform/network/ResourceLoadTiming.h" | 33 #include "core/platform/network/ResourceLoadTiming.h" |
| 34 #include "weborigin/KURL.h" | 34 #include "weborigin/KURL.h" |
| 35 #include "wtf/PassOwnPtr.h" | 35 #include "wtf/PassOwnPtr.h" |
| 36 #include "wtf/RefPtr.h" | 36 #include "wtf/RefPtr.h" |
| 37 #include "wtf/text/CString.h" | 37 #include "wtf/text/CString.h" |
| 38 | 38 |
| 39 #if OS(SOLARIS) | |
| 40 #include <sys/time.h> // For time_t structure. | |
| 41 #endif | |
| 42 | |
| 43 namespace WebCore { | 39 namespace WebCore { |
| 44 | 40 |
| 45 struct CrossThreadResourceResponseData; | 41 struct CrossThreadResourceResponseData; |
| 46 | 42 |
| 47 class ResourceResponse { | 43 class ResourceResponse { |
| 48 WTF_MAKE_FAST_ALLOCATED; | 44 WTF_MAKE_FAST_ALLOCATED; |
| 49 public: | 45 public: |
| 50 enum HTTPVersion { Unknown, HTTP_0_9, HTTP_1_0, HTTP_1_1 }; | 46 enum HTTPVersion { Unknown, HTTP_0_9, HTTP_1_0, HTTP_1_1 }; |
| 51 | 47 |
| 52 class ExtraData : public RefCounted<ExtraData> { | 48 class ExtraData : public RefCounted<ExtraData> { |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 bool m_wasFetchedViaProxy; | 298 bool m_wasFetchedViaProxy; |
| 303 double m_responseTime; | 299 double m_responseTime; |
| 304 String m_remoteIPAddress; | 300 String m_remoteIPAddress; |
| 305 unsigned short m_remotePort; | 301 unsigned short m_remotePort; |
| 306 String m_downloadFilePath; | 302 String m_downloadFilePath; |
| 307 }; | 303 }; |
| 308 | 304 |
| 309 } // namespace WebCore | 305 } // namespace WebCore |
| 310 | 306 |
| 311 #endif // ResourceResponse_h | 307 #endif // ResourceResponse_h |
| OLD | NEW |