| 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 bool WebURLResponse::wasFallbackRequiredByServiceWorker() const | 389 bool WebURLResponse::wasFallbackRequiredByServiceWorker() const |
| 390 { | 390 { |
| 391 return m_private->m_resourceResponse->wasFallbackRequiredByServiceWorker(); | 391 return m_private->m_resourceResponse->wasFallbackRequiredByServiceWorker(); |
| 392 } | 392 } |
| 393 | 393 |
| 394 void WebURLResponse::setWasFallbackRequiredByServiceWorker(bool value) | 394 void WebURLResponse::setWasFallbackRequiredByServiceWorker(bool value) |
| 395 { | 395 { |
| 396 m_private->m_resourceResponse->setWasFallbackRequiredByServiceWorker(value); | 396 m_private->m_resourceResponse->setWasFallbackRequiredByServiceWorker(value); |
| 397 } | 397 } |
| 398 | 398 |
| 399 WebServiceWorkerResponseType WebURLResponse::serviceWorkerResponseType() const |
| 400 { |
| 401 return m_private->m_resourceResponse->serviceWorkerResponseType(); |
| 402 } |
| 403 |
| 404 void WebURLResponse::setServiceWorkerResponseType(WebServiceWorkerResponseType v
alue) |
| 405 { |
| 406 m_private->m_resourceResponse->setServiceWorkerResponseType(value); |
| 407 } |
| 408 |
| 399 bool WebURLResponse::isMultipartPayload() const | 409 bool WebURLResponse::isMultipartPayload() const |
| 400 { | 410 { |
| 401 return m_private->m_resourceResponse->isMultipartPayload(); | 411 return m_private->m_resourceResponse->isMultipartPayload(); |
| 402 } | 412 } |
| 403 | 413 |
| 404 void WebURLResponse::setIsMultipartPayload(bool value) | 414 void WebURLResponse::setIsMultipartPayload(bool value) |
| 405 { | 415 { |
| 406 m_private->m_resourceResponse->setIsMultipartPayload(value); | 416 m_private->m_resourceResponse->setIsMultipartPayload(value); |
| 407 } | 417 } |
| 408 | 418 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 // Subclasses may call this directly so a self-assignment check is needed | 464 // Subclasses may call this directly so a self-assignment check is needed |
| 455 // here as well as in the public assign method. | 465 // here as well as in the public assign method. |
| 456 if (m_private == p) | 466 if (m_private == p) |
| 457 return; | 467 return; |
| 458 if (m_private) | 468 if (m_private) |
| 459 m_private->dispose(); | 469 m_private->dispose(); |
| 460 m_private = p; | 470 m_private = p; |
| 461 } | 471 } |
| 462 | 472 |
| 463 } // namespace blink | 473 } // namespace blink |
| OLD | NEW |