| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); | 245 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); |
| 246 | 246 |
| 247 // Remote IP address of the socket which fetched this resource. | 247 // Remote IP address of the socket which fetched this resource. |
| 248 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; | 248 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; |
| 249 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); | 249 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); |
| 250 | 250 |
| 251 // Remote port number of the socket which fetched this resource. | 251 // Remote port number of the socket which fetched this resource. |
| 252 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; | 252 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; |
| 253 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); | 253 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); |
| 254 | 254 |
| 255 // Original size of the response body before decompression. |
| 256 BLINK_PLATFORM_EXPORT long long encodedBodyLength() const; |
| 257 BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long); |
| 258 |
| 259 // Size of the response body after removing any content encoding. |
| 260 BLINK_PLATFORM_EXPORT void addToResponseBodySize(long long); |
| 261 |
| 255 // Extra data associated with the underlying resource response. Resource | 262 // Extra data associated with the underlying resource response. Resource |
| 256 // responses can be copied. If non-null, each copy of a resource response | 263 // responses can be copied. If non-null, each copy of a resource response |
| 257 // holds a pointer to the extra data, and the extra data pointer will be | 264 // holds a pointer to the extra data, and the extra data pointer will be |
| 258 // deleted when the last resource response is destroyed. Setting the extra | 265 // deleted when the last resource response is destroyed. Setting the extra |
| 259 // data pointer will cause the underlying resource response to be | 266 // data pointer will cause the underlying resource response to be |
| 260 // dissociated from any existing non-null extra data pointer. | 267 // dissociated from any existing non-null extra data pointer. |
| 261 BLINK_PLATFORM_EXPORT ExtraData* getExtraData() const; | 268 BLINK_PLATFORM_EXPORT ExtraData* getExtraData() const; |
| 262 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); | 269 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); |
| 263 | 270 |
| 264 protected: | 271 protected: |
| 265 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); | 272 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); |
| 266 | 273 |
| 267 private: | 274 private: |
| 268 WebURLResponsePrivate* m_private; | 275 WebURLResponsePrivate* m_private; |
| 269 }; | 276 }; |
| 270 | 277 |
| 271 } // namespace blink | 278 } // namespace blink |
| 272 | 279 |
| 273 #endif | 280 #endif |
| OLD | NEW |