| 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 WebURLRequest::LoFiState WebURLRequest::getLoFiState() const | 399 WebURLRequest::LoFiState WebURLRequest::getLoFiState() const |
| 400 { | 400 { |
| 401 return m_resourceRequest->loFiState(); | 401 return m_resourceRequest->loFiState(); |
| 402 } | 402 } |
| 403 | 403 |
| 404 void WebURLRequest::setLoFiState(WebURLRequest::LoFiState loFiState) | 404 void WebURLRequest::setLoFiState(WebURLRequest::LoFiState loFiState) |
| 405 { | 405 { |
| 406 return m_resourceRequest->setLoFiState(loFiState); | 406 return m_resourceRequest->setLoFiState(loFiState); |
| 407 } | 407 } |
| 408 | 408 |
| 409 bool WebURLRequest::linkPreload() const |
| 410 { |
| 411 return m_resourceRequest->linkPreload(); |
| 412 } |
| 413 |
| 409 WebURLRequest::ExtraData* WebURLRequest::getExtraData() const | 414 WebURLRequest::ExtraData* WebURLRequest::getExtraData() const |
| 410 { | 415 { |
| 411 RefPtr<ResourceRequest::ExtraData> data = m_resourceRequest->getExtraData(); | 416 RefPtr<ResourceRequest::ExtraData> data = m_resourceRequest->getExtraData(); |
| 412 if (!data) | 417 if (!data) |
| 413 return 0; | 418 return 0; |
| 414 return static_cast<ExtraDataContainer*>(data.get())->getExtraData(); | 419 return static_cast<ExtraDataContainer*>(data.get())->getExtraData(); |
| 415 } | 420 } |
| 416 | 421 |
| 417 void WebURLRequest::setExtraData(WebURLRequest::ExtraData* extraData) | 422 void WebURLRequest::setExtraData(WebURLRequest::ExtraData* extraData) |
| 418 { | 423 { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 DCHECK(m_resourceRequest); | 492 DCHECK(m_resourceRequest); |
| 488 return *m_resourceRequest; | 493 return *m_resourceRequest; |
| 489 } | 494 } |
| 490 | 495 |
| 491 WebURLRequest::WebURLRequest(ResourceRequest& r) | 496 WebURLRequest::WebURLRequest(ResourceRequest& r) |
| 492 : m_resourceRequest(&r) | 497 : m_resourceRequest(&r) |
| 493 { | 498 { |
| 494 } | 499 } |
| 495 | 500 |
| 496 } // namespace blink | 501 } // namespace blink |
| OLD | NEW |