| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 bool WebURLResponse::wasFetchedViaServiceWorker() const | 379 bool WebURLResponse::wasFetchedViaServiceWorker() const |
| 380 { | 380 { |
| 381 return m_private->m_resourceResponse->wasFetchedViaServiceWorker(); | 381 return m_private->m_resourceResponse->wasFetchedViaServiceWorker(); |
| 382 } | 382 } |
| 383 | 383 |
| 384 void WebURLResponse::setWasFetchedViaServiceWorker(bool value) | 384 void WebURLResponse::setWasFetchedViaServiceWorker(bool value) |
| 385 { | 385 { |
| 386 m_private->m_resourceResponse->setWasFetchedViaServiceWorker(value); | 386 m_private->m_resourceResponse->setWasFetchedViaServiceWorker(value); |
| 387 } | 387 } |
| 388 | 388 |
| 389 bool WebURLResponse::wasFallbackRequiredByServiceWorker() const |
| 390 { |
| 391 return m_private->m_resourceResponse->wasFallbackRequiredByServiceWorker(); |
| 392 } |
| 393 |
| 394 void WebURLResponse::setWasFallbackRequiredByServiceWorker(bool value) |
| 395 { |
| 396 m_private->m_resourceResponse->setWasFallbackRequiredByServiceWorker(value); |
| 397 } |
| 398 |
| 389 bool WebURLResponse::isMultipartPayload() const | 399 bool WebURLResponse::isMultipartPayload() const |
| 390 { | 400 { |
| 391 return m_private->m_resourceResponse->isMultipartPayload(); | 401 return m_private->m_resourceResponse->isMultipartPayload(); |
| 392 } | 402 } |
| 393 | 403 |
| 394 void WebURLResponse::setIsMultipartPayload(bool value) | 404 void WebURLResponse::setIsMultipartPayload(bool value) |
| 395 { | 405 { |
| 396 m_private->m_resourceResponse->setIsMultipartPayload(value); | 406 m_private->m_resourceResponse->setIsMultipartPayload(value); |
| 397 } | 407 } |
| 398 | 408 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 // Subclasses may call this directly so a self-assignment check is needed | 454 // Subclasses may call this directly so a self-assignment check is needed |
| 445 // here as well as in the public assign method. | 455 // here as well as in the public assign method. |
| 446 if (m_private == p) | 456 if (m_private == p) |
| 447 return; | 457 return; |
| 448 if (m_private) | 458 if (m_private) |
| 449 m_private->dispose(); | 459 m_private->dispose(); |
| 450 m_private = p; | 460 m_private = p; |
| 451 } | 461 } |
| 452 | 462 |
| 453 } // namespace blink | 463 } // namespace blink |
| OLD | NEW |