| 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 bool WebURLResponse::isMultipartPayload() const | 443 bool WebURLResponse::isMultipartPayload() const |
| 444 { | 444 { |
| 445 return m_private->m_resourceResponse->isMultipartPayload(); | 445 return m_private->m_resourceResponse->isMultipartPayload(); |
| 446 } | 446 } |
| 447 | 447 |
| 448 void WebURLResponse::setIsMultipartPayload(bool value) | 448 void WebURLResponse::setIsMultipartPayload(bool value) |
| 449 { | 449 { |
| 450 m_private->m_resourceResponse->setIsMultipartPayload(value); | 450 m_private->m_resourceResponse->setIsMultipartPayload(value); |
| 451 } | 451 } |
| 452 | 452 |
| 453 void WebURLResponse::setMultipartBoundary(const char* bytes, size_t size) |
| 454 { |
| 455 m_private->m_resourceResponse->setMultipartBoundary(bytes, size); |
| 456 } |
| 457 |
| 453 WebString WebURLResponse::downloadFilePath() const | 458 WebString WebURLResponse::downloadFilePath() const |
| 454 { | 459 { |
| 455 return m_private->m_resourceResponse->downloadedFilePath(); | 460 return m_private->m_resourceResponse->downloadedFilePath(); |
| 456 } | 461 } |
| 457 | 462 |
| 458 void WebURLResponse::setDownloadFilePath(const WebString& downloadFilePath) | 463 void WebURLResponse::setDownloadFilePath(const WebString& downloadFilePath) |
| 459 { | 464 { |
| 460 m_private->m_resourceResponse->setDownloadedFilePath(downloadFilePath); | 465 m_private->m_resourceResponse->setDownloadedFilePath(downloadFilePath); |
| 461 } | 466 } |
| 462 | 467 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 // Subclasses may call this directly so a self-assignment check is needed | 503 // Subclasses may call this directly so a self-assignment check is needed |
| 499 // here as well as in the public assign method. | 504 // here as well as in the public assign method. |
| 500 if (m_private == p) | 505 if (m_private == p) |
| 501 return; | 506 return; |
| 502 if (m_private) | 507 if (m_private) |
| 503 m_private->dispose(); | 508 m_private->dispose(); |
| 504 m_private = p; | 509 m_private = p; |
| 505 } | 510 } |
| 506 | 511 |
| 507 } // namespace blink | 512 } // namespace blink |
| OLD | NEW |