| 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 } | 422 } |
| 423 | 423 |
| 424 void WebURLResponse::setRemotePort(unsigned short remotePort) { | 424 void WebURLResponse::setRemotePort(unsigned short remotePort) { |
| 425 m_resourceResponse->setRemotePort(remotePort); | 425 m_resourceResponse->setRemotePort(remotePort); |
| 426 } | 426 } |
| 427 | 427 |
| 428 long long WebURLResponse::encodedDataLengthForTesting() const { | 428 long long WebURLResponse::encodedDataLengthForTesting() const { |
| 429 return m_resourceResponse->encodedDataLength(); | 429 return m_resourceResponse->encodedDataLength(); |
| 430 } | 430 } |
| 431 | 431 |
| 432 void WebURLResponse::addToEncodedDataLength(long long length) { | 432 void WebURLResponse::setEncodedDataLength(long long length) { |
| 433 m_resourceResponse->addToEncodedDataLength(length); | 433 m_resourceResponse->setEncodedDataLength(length); |
| 434 } | 434 } |
| 435 | 435 |
| 436 long long WebURLResponse::encodedBodyLengthForTesting() const { | 436 long long WebURLResponse::encodedBodyLengthForTesting() const { |
| 437 return m_resourceResponse->encodedBodyLength(); | 437 return m_resourceResponse->encodedBodyLength(); |
| 438 } | 438 } |
| 439 | 439 |
| 440 void WebURLResponse::addToEncodedBodyLength(long long length) { | 440 void WebURLResponse::addToEncodedBodyLength(long long length) { |
| 441 m_resourceResponse->addToEncodedBodyLength(length); | 441 m_resourceResponse->addToEncodedBodyLength(length); |
| 442 } | 442 } |
| 443 | 443 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 460 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); | 460 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); |
| 461 } | 461 } |
| 462 | 462 |
| 463 void WebURLResponse::appendRedirectResponse(const WebURLResponse& response) { | 463 void WebURLResponse::appendRedirectResponse(const WebURLResponse& response) { |
| 464 m_resourceResponse->appendRedirectResponse(response.toResourceResponse()); | 464 m_resourceResponse->appendRedirectResponse(response.toResourceResponse()); |
| 465 } | 465 } |
| 466 | 466 |
| 467 WebURLResponse::WebURLResponse(ResourceResponse& r) : m_resourceResponse(&r) {} | 467 WebURLResponse::WebURLResponse(ResourceResponse& r) : m_resourceResponse(&r) {} |
| 468 | 468 |
| 469 } // namespace blink | 469 } // namespace blink |
| OLD | NEW |