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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 WebURL WebURLResponse::originalURLViaServiceWorker() const | 433 WebURL WebURLResponse::originalURLViaServiceWorker() const |
434 { | 434 { |
435 return m_private->m_resourceResponse->originalURLViaServiceWorker(); | 435 return m_private->m_resourceResponse->originalURLViaServiceWorker(); |
436 } | 436 } |
437 | 437 |
438 void WebURLResponse::setOriginalURLViaServiceWorker(const WebURL& url) | 438 void WebURLResponse::setOriginalURLViaServiceWorker(const WebURL& url) |
439 { | 439 { |
440 m_private->m_resourceResponse->setOriginalURLViaServiceWorker(url); | 440 m_private->m_resourceResponse->setOriginalURLViaServiceWorker(url); |
441 } | 441 } |
442 | 442 |
443 bool WebURLResponse::isMultipartPayload() const | |
444 { | |
445 return m_private->m_resourceResponse->isMultipartPayload(); | |
446 } | |
447 | |
448 void WebURLResponse::setIsMultipartPayload(bool value) | |
449 { | |
450 m_private->m_resourceResponse->setIsMultipartPayload(value); | |
451 } | |
452 | |
453 void WebURLResponse::setMultipartBoundary(const char* bytes, size_t size) | 443 void WebURLResponse::setMultipartBoundary(const char* bytes, size_t size) |
454 { | 444 { |
455 m_private->m_resourceResponse->setMultipartBoundary(bytes, size); | 445 m_private->m_resourceResponse->setMultipartBoundary(bytes, size); |
456 } | 446 } |
457 | 447 |
458 WebString WebURLResponse::downloadFilePath() const | 448 WebString WebURLResponse::downloadFilePath() const |
459 { | 449 { |
460 return m_private->m_resourceResponse->downloadedFilePath(); | 450 return m_private->m_resourceResponse->downloadedFilePath(); |
461 } | 451 } |
462 | 452 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 // Subclasses may call this directly so a self-assignment check is needed | 493 // Subclasses may call this directly so a self-assignment check is needed |
504 // here as well as in the public assign method. | 494 // here as well as in the public assign method. |
505 if (m_private == p) | 495 if (m_private == p) |
506 return; | 496 return; |
507 if (m_private) | 497 if (m_private) |
508 m_private->dispose(); | 498 m_private->dispose(); |
509 m_private = p; | 499 m_private = p; |
510 } | 500 } |
511 | 501 |
512 } // namespace blink | 502 } // namespace blink |
OLD | NEW |