| 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 bool WebURLResponse::wasFetchedViaProxy() const | 371 bool WebURLResponse::wasFetchedViaProxy() const |
| 372 { | 372 { |
| 373 return m_private->m_resourceResponse->wasFetchedViaProxy(); | 373 return m_private->m_resourceResponse->wasFetchedViaProxy(); |
| 374 } | 374 } |
| 375 | 375 |
| 376 void WebURLResponse::setWasFetchedViaProxy(bool value) | 376 void WebURLResponse::setWasFetchedViaProxy(bool value) |
| 377 { | 377 { |
| 378 m_private->m_resourceResponse->setWasFetchedViaProxy(value); | 378 m_private->m_resourceResponse->setWasFetchedViaProxy(value); |
| 379 } | 379 } |
| 380 | 380 |
| 381 bool WebURLResponse::wasFetchedViaServiceWorker() const |
| 382 { |
| 383 return m_private->m_resourceResponse->wasFetchedViaServiceWorker(); |
| 384 } |
| 385 |
| 386 void WebURLResponse::setWasFetchedViaServiceWorker(bool value) |
| 387 { |
| 388 m_private->m_resourceResponse->setWasFetchedViaServiceWorker(value); |
| 389 } |
| 390 |
| 381 bool WebURLResponse::isMultipartPayload() const | 391 bool WebURLResponse::isMultipartPayload() const |
| 382 { | 392 { |
| 383 return m_private->m_resourceResponse->isMultipartPayload(); | 393 return m_private->m_resourceResponse->isMultipartPayload(); |
| 384 } | 394 } |
| 385 | 395 |
| 386 void WebURLResponse::setIsMultipartPayload(bool value) | 396 void WebURLResponse::setIsMultipartPayload(bool value) |
| 387 { | 397 { |
| 388 m_private->m_resourceResponse->setIsMultipartPayload(value); | 398 m_private->m_resourceResponse->setIsMultipartPayload(value); |
| 389 } | 399 } |
| 390 | 400 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 // Subclasses may call this directly so a self-assignment check is needed | 446 // Subclasses may call this directly so a self-assignment check is needed |
| 437 // here as well as in the public assign method. | 447 // here as well as in the public assign method. |
| 438 if (m_private == p) | 448 if (m_private == p) |
| 439 return; | 449 return; |
| 440 if (m_private) | 450 if (m_private) |
| 441 m_private->dispose(); | 451 m_private->dispose(); |
| 442 m_private = p; | 452 m_private = p; |
| 443 } | 453 } |
| 444 | 454 |
| 445 } // namespace blink | 455 } // namespace blink |
| OLD | NEW |