| 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 void WebURLRequest::setUiStartTime(double time) | 452 void WebURLRequest::setUiStartTime(double time) |
| 453 { | 453 { |
| 454 m_private->m_resourceRequest->setUIStartTime(time); | 454 m_private->m_resourceRequest->setUIStartTime(time); |
| 455 } | 455 } |
| 456 | 456 |
| 457 bool WebURLRequest::isExternalRequest() const | 457 bool WebURLRequest::isExternalRequest() const |
| 458 { | 458 { |
| 459 return m_private->m_resourceRequest->isExternalRequest(); | 459 return m_private->m_resourceRequest->isExternalRequest(); |
| 460 } | 460 } |
| 461 | 461 |
| 462 WebInsecureRequestPolicy WebURLRequest::getInsecureRequestPolicy() const |
| 463 { |
| 464 return m_private->m_resourceRequest->insecureRequestPolicy(); |
| 465 } |
| 466 |
| 462 WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricR
eportPolicy() const | 467 WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricR
eportPolicy() const |
| 463 { | 468 { |
| 464 return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>( | 469 return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>( |
| 465 m_private->m_resourceRequest->inputPerfMetricReportPolicy()); | 470 m_private->m_resourceRequest->inputPerfMetricReportPolicy()); |
| 466 } | 471 } |
| 467 | 472 |
| 468 void WebURLRequest::setInputPerfMetricReportPolicy( | 473 void WebURLRequest::setInputPerfMetricReportPolicy( |
| 469 WebURLRequest::InputToLoadPerfMetricReportPolicy policy) | 474 WebURLRequest::InputToLoadPerfMetricReportPolicy policy) |
| 470 { | 475 { |
| 471 m_private->m_resourceRequest->setInputPerfMetricReportPolicy( | 476 m_private->m_resourceRequest->setInputPerfMetricReportPolicy( |
| (...skipping 13 matching lines...) Expand all Loading... |
| 485 // Subclasses may call this directly so a self-assignment check is needed | 490 // Subclasses may call this directly so a self-assignment check is needed |
| 486 // here as well as in the public assign method. | 491 // here as well as in the public assign method. |
| 487 if (m_private == p) | 492 if (m_private == p) |
| 488 return; | 493 return; |
| 489 if (m_private) | 494 if (m_private) |
| 490 m_private->dispose(); | 495 m_private->dispose(); |
| 491 m_private = p; | 496 m_private = p; |
| 492 } | 497 } |
| 493 | 498 |
| 494 } // namespace blink | 499 } // namespace blink |
| OLD | NEW |