Chromium Code Reviews| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 274 // This indicates the location of a downloaded response if the | 274 // This indicates the location of a downloaded response if the |
| 275 // WebURLRequest had the downloadToFile flag set to true. This file path | 275 // WebURLRequest had the downloadToFile flag set to true. This file path |
| 276 // remains valid for the lifetime of the WebURLLoader used to create it. | 276 // remains valid for the lifetime of the WebURLLoader used to create it. |
| 277 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const; | 277 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const; |
| 278 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); | 278 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); |
| 279 | 279 |
| 280 // Remote IP address of the socket which fetched this resource. | 280 // Remote IP address of the socket which fetched this resource. |
| 281 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; | 281 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; |
| 282 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); | 282 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); |
| 283 | 283 |
| 284 // ALPN negotiated protocol of the socket which fetched this resource. | |
| 285 BLINK_PLATFORM_EXPORT WebString alpnNegotiatedProtocol() const; | |
| 286 BLINK_PLATFORM_EXPORT void setALPNNegotiatedProtocol(const WebString&); | |
| 287 | |
| 288 // ALPN negotiated protocol of the socket which fetched this resource. | |
|
panicker
2016/10/24 18:23:31
incorrect description, please fix
sunjian
2016/10/25 00:10:55
Done.
| |
| 289 BLINK_PLATFORM_EXPORT WebString connectionInfo() const; | |
| 290 BLINK_PLATFORM_EXPORT void setConnectionInfo(const WebString&); | |
| 291 | |
| 284 // Remote port number of the socket which fetched this resource. | 292 // Remote port number of the socket which fetched this resource. |
| 285 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; | 293 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; |
| 286 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); | 294 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); |
| 287 | 295 |
| 288 // Original size of the response before decompression. | 296 // Original size of the response before decompression. |
| 289 BLINK_PLATFORM_EXPORT long long encodedDataLength() const; | 297 BLINK_PLATFORM_EXPORT long long encodedDataLength() const; |
| 290 BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long); | 298 BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long); |
| 291 | 299 |
| 292 // Original size of the response body before decompression. | 300 // Original size of the response body before decompression. |
| 293 BLINK_PLATFORM_EXPORT long long encodedBodyLength() const; | 301 BLINK_PLATFORM_EXPORT long long encodedBodyLength() const; |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 323 // instance it contains. | 331 // instance it contains. |
| 324 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; | 332 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; |
| 325 | 333 |
| 326 // Should never be null. | 334 // Should never be null. |
| 327 ResourceResponse* m_resourceResponse; | 335 ResourceResponse* m_resourceResponse; |
| 328 }; | 336 }; |
| 329 | 337 |
| 330 } // namespace blink | 338 } // namespace blink |
| 331 | 339 |
| 332 #endif | 340 #endif |
| OLD | NEW |