| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 | 26 |
| 27 #ifndef ResourceLoadInfo_h | 27 #ifndef ResourceLoadInfo_h |
| 28 #define ResourceLoadInfo_h | 28 #define ResourceLoadInfo_h |
| 29 | 29 |
| 30 #include "platform/network/HTTPHeaderMap.h" | 30 #include "platform/network/HTTPHeaderMap.h" |
| 31 #include "wtf/RefCounted.h" | 31 #include "wtf/RefCounted.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace blink { |
| 34 | 34 |
| 35 struct ResourceLoadInfo : RefCounted<ResourceLoadInfo> { | 35 struct ResourceLoadInfo : RefCounted<ResourceLoadInfo> { |
| 36 ResourceLoadInfo() | 36 ResourceLoadInfo() |
| 37 : httpStatusCode(0) | 37 : httpStatusCode(0) |
| 38 , encodedDataLength(-1) { } | 38 , encodedDataLength(-1) { } |
| 39 | 39 |
| 40 int httpStatusCode; | 40 int httpStatusCode; |
| 41 String httpStatusText; | 41 String httpStatusText; |
| 42 long long encodedDataLength; | 42 long long encodedDataLength; |
| 43 HTTPHeaderMap requestHeaders; | 43 HTTPHeaderMap requestHeaders; |
| 44 HTTPHeaderMap responseHeaders; | 44 HTTPHeaderMap responseHeaders; |
| 45 String requestHeadersText; | 45 String requestHeadersText; |
| 46 String responseHeadersText; | 46 String responseHeadersText; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } | 49 } |
| 50 | 50 |
| 51 #endif | 51 #endif |
| OLD | NEW |