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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 bool WebURLResponse::wasFetchedViaServiceWorker() const | 407 bool WebURLResponse::wasFetchedViaServiceWorker() const |
408 { | 408 { |
409 return m_resourceResponse->wasFetchedViaServiceWorker(); | 409 return m_resourceResponse->wasFetchedViaServiceWorker(); |
410 } | 410 } |
411 | 411 |
412 void WebURLResponse::setWasFetchedViaServiceWorker(bool value) | 412 void WebURLResponse::setWasFetchedViaServiceWorker(bool value) |
413 { | 413 { |
414 m_resourceResponse->setWasFetchedViaServiceWorker(value); | 414 m_resourceResponse->setWasFetchedViaServiceWorker(value); |
415 } | 415 } |
416 | 416 |
| 417 bool WebURLResponse::wasFetchedViaForeignFetch() const |
| 418 { |
| 419 return m_resourceResponse->wasFetchedViaForeignFetch(); |
| 420 } |
| 421 |
| 422 void WebURLResponse::setWasFetchedViaForeignFetch(bool value) |
| 423 { |
| 424 m_resourceResponse->setWasFetchedViaForeignFetch(value); |
| 425 } |
| 426 |
417 bool WebURLResponse::wasFallbackRequiredByServiceWorker() const | 427 bool WebURLResponse::wasFallbackRequiredByServiceWorker() const |
418 { | 428 { |
419 return m_resourceResponse->wasFallbackRequiredByServiceWorker(); | 429 return m_resourceResponse->wasFallbackRequiredByServiceWorker(); |
420 } | 430 } |
421 | 431 |
422 void WebURLResponse::setWasFallbackRequiredByServiceWorker(bool value) | 432 void WebURLResponse::setWasFallbackRequiredByServiceWorker(bool value) |
423 { | 433 { |
424 m_resourceResponse->setWasFallbackRequiredByServiceWorker(value); | 434 m_resourceResponse->setWasFallbackRequiredByServiceWorker(value); |
425 } | 435 } |
426 | 436 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 { | 538 { |
529 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); | 539 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); |
530 } | 540 } |
531 | 541 |
532 WebURLResponse::WebURLResponse(ResourceResponse& r) | 542 WebURLResponse::WebURLResponse(ResourceResponse& r) |
533 : m_resourceResponse(&r) | 543 : m_resourceResponse(&r) |
534 { | 544 { |
535 } | 545 } |
536 | 546 |
537 } // namespace blink | 547 } // namespace blink |
OLD | NEW |