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::wasAlternateProtocolAvailable() const | 389 bool WebURLResponse::wasAlternateProtocolAvailable() const |
390 { | 390 { |
391 return m_resourceResponse->wasAlternateProtocolAvailable(); | 391 return m_resourceResponse->wasAlternateProtocolAvailable(); |
392 } | 392 } |
393 | 393 |
394 void WebURLResponse::setWasAlternateProtocolAvailable(bool value) | 394 void WebURLResponse::setWasAlternateProtocolAvailable(bool value) |
395 { | 395 { |
396 m_resourceResponse->setWasAlternateProtocolAvailable(value); | 396 m_resourceResponse->setWasAlternateProtocolAvailable(value); |
397 } | 397 } |
398 | 398 |
399 bool WebURLResponse::wasFetchedViaProxy() const | |
400 { | |
401 return m_resourceResponse->wasFetchedViaProxy(); | |
402 } | |
403 | |
404 void WebURLResponse::setWasFetchedViaProxy(bool value) | |
405 { | |
406 m_resourceResponse->setWasFetchedViaProxy(value); | |
407 } | |
408 | |
409 bool WebURLResponse::wasFetchedViaServiceWorker() const | 399 bool WebURLResponse::wasFetchedViaServiceWorker() const |
410 { | 400 { |
411 return m_resourceResponse->wasFetchedViaServiceWorker(); | 401 return m_resourceResponse->wasFetchedViaServiceWorker(); |
412 } | 402 } |
413 | 403 |
414 void WebURLResponse::setWasFetchedViaServiceWorker(bool value) | 404 void WebURLResponse::setWasFetchedViaServiceWorker(bool value) |
415 { | 405 { |
416 m_resourceResponse->setWasFetchedViaServiceWorker(value); | 406 m_resourceResponse->setWasFetchedViaServiceWorker(value); |
417 } | 407 } |
418 | 408 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 { | 530 { |
541 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); | 531 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); |
542 } | 532 } |
543 | 533 |
544 WebURLResponse::WebURLResponse(ResourceResponse& r) | 534 WebURLResponse::WebURLResponse(ResourceResponse& r) |
545 : m_resourceResponse(&r) | 535 : m_resourceResponse(&r) |
546 { | 536 { |
547 } | 537 } |
548 | 538 |
549 } // namespace blink | 539 } // namespace blink |
OLD | NEW |