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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 WebServiceWorkerResponseType WebURLResponse::serviceWorkerResponseType() const | 399 WebServiceWorkerResponseType WebURLResponse::serviceWorkerResponseType() const |
400 { | 400 { |
401 return m_private->m_resourceResponse->serviceWorkerResponseType(); | 401 return m_private->m_resourceResponse->serviceWorkerResponseType(); |
402 } | 402 } |
403 | 403 |
404 void WebURLResponse::setServiceWorkerResponseType(WebServiceWorkerResponseType v
alue) | 404 void WebURLResponse::setServiceWorkerResponseType(WebServiceWorkerResponseType v
alue) |
405 { | 405 { |
406 m_private->m_resourceResponse->setServiceWorkerResponseType(value); | 406 m_private->m_resourceResponse->setServiceWorkerResponseType(value); |
407 } | 407 } |
408 | 408 |
| 409 WebURL WebURLResponse::originalURLViaServiceWorker() const |
| 410 { |
| 411 return m_private->m_resourceResponse->originalURLViaServiceWorker(); |
| 412 } |
| 413 |
| 414 void WebURLResponse::setOriginalURLViaServiceWorker(const WebURL& url) |
| 415 { |
| 416 m_private->m_resourceResponse->setOriginalURLViaServiceWorker(url); |
| 417 } |
| 418 |
409 bool WebURLResponse::isMultipartPayload() const | 419 bool WebURLResponse::isMultipartPayload() const |
410 { | 420 { |
411 return m_private->m_resourceResponse->isMultipartPayload(); | 421 return m_private->m_resourceResponse->isMultipartPayload(); |
412 } | 422 } |
413 | 423 |
414 void WebURLResponse::setIsMultipartPayload(bool value) | 424 void WebURLResponse::setIsMultipartPayload(bool value) |
415 { | 425 { |
416 m_private->m_resourceResponse->setIsMultipartPayload(value); | 426 m_private->m_resourceResponse->setIsMultipartPayload(value); |
417 } | 427 } |
418 | 428 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 // Subclasses may call this directly so a self-assignment check is needed | 474 // Subclasses may call this directly so a self-assignment check is needed |
465 // here as well as in the public assign method. | 475 // here as well as in the public assign method. |
466 if (m_private == p) | 476 if (m_private == p) |
467 return; | 477 return; |
468 if (m_private) | 478 if (m_private) |
469 m_private->dispose(); | 479 m_private->dispose(); |
470 m_private = p; | 480 m_private = p; |
471 } | 481 } |
472 | 482 |
473 } // namespace blink | 483 } // namespace blink |
OLD | NEW |