| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 // Remote IP address of the socket which fetched this resource. | 282 // Remote IP address of the socket which fetched this resource. |
| 283 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; | 283 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; |
| 284 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); | 284 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); |
| 285 | 285 |
| 286 // Remote port number of the socket which fetched this resource. | 286 // Remote port number of the socket which fetched this resource. |
| 287 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; | 287 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; |
| 288 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); | 288 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); |
| 289 | 289 |
| 290 // Original size of the response before decompression. | 290 // Original size of the response before decompression. |
| 291 BLINK_PLATFORM_EXPORT long long encodedDataLengthForTesting() const; | 291 BLINK_PLATFORM_EXPORT long long encodedDataLengthForTesting() const; |
| 292 BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long); | 292 BLINK_PLATFORM_EXPORT void setEncodedDataLength(long long); |
| 293 | 293 |
| 294 // Original size of the response body before decompression. | 294 // Original size of the response body before decompression. |
| 295 BLINK_PLATFORM_EXPORT long long encodedBodyLengthForTesting() const; | 295 BLINK_PLATFORM_EXPORT long long encodedBodyLengthForTesting() const; |
| 296 BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long); | 296 BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long); |
| 297 | 297 |
| 298 // Size of the response body after removing any content encoding. | 298 // Size of the response body after removing any content encoding. |
| 299 BLINK_PLATFORM_EXPORT long long decodedBodyLengthForTesting() const; | 299 BLINK_PLATFORM_EXPORT long long decodedBodyLengthForTesting() const; |
| 300 BLINK_PLATFORM_EXPORT void addToDecodedBodyLength(long long); | 300 BLINK_PLATFORM_EXPORT void addToDecodedBodyLength(long long); |
| 301 | 301 |
| 302 // Extra data associated with the underlying resource response. Resource | 302 // Extra data associated with the underlying resource response. Resource |
| (...skipping 22 matching lines...) Expand all Loading... |
| 325 // instance it contains. | 325 // instance it contains. |
| 326 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; | 326 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; |
| 327 | 327 |
| 328 // Should never be null. | 328 // Should never be null. |
| 329 ResourceResponse* m_resourceResponse; | 329 ResourceResponse* m_resourceResponse; |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 } // namespace blink | 332 } // namespace blink |
| 333 | 333 |
| 334 #endif | 334 #endif |
| OLD | NEW |