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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 double WebURLRequest::uiStartTime() const | 428 double WebURLRequest::uiStartTime() const |
429 { | 429 { |
430 return m_private->m_resourceRequest->uiStartTime(); | 430 return m_private->m_resourceRequest->uiStartTime(); |
431 } | 431 } |
432 | 432 |
433 void WebURLRequest::setUiStartTime(double time) | 433 void WebURLRequest::setUiStartTime(double time) |
434 { | 434 { |
435 m_private->m_resourceRequest->setUIStartTime(time); | 435 m_private->m_resourceRequest->setUIStartTime(time); |
436 } | 436 } |
437 | 437 |
438 bool WebURLRequest::originatesFromReservedIPRange() const | 438 bool WebURLRequest::isExternalRequest() const |
439 { | 439 { |
440 return m_private->m_resourceRequest->originatesFromReservedIPRange(); | 440 return m_private->m_resourceRequest->isExternalRequest(); |
441 } | |
442 | |
443 void WebURLRequest::setOriginatesFromReservedIPRange(bool value) | |
444 { | |
445 m_private->m_resourceRequest->setOriginatesFromReservedIPRange(value); | |
446 } | 441 } |
447 | 442 |
448 WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricR
eportPolicy() const | 443 WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricR
eportPolicy() const |
449 { | 444 { |
450 return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>( | 445 return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>( |
451 m_private->m_resourceRequest->inputPerfMetricReportPolicy()); | 446 m_private->m_resourceRequest->inputPerfMetricReportPolicy()); |
452 } | 447 } |
453 | 448 |
454 void WebURLRequest::setInputPerfMetricReportPolicy( | 449 void WebURLRequest::setInputPerfMetricReportPolicy( |
455 WebURLRequest::InputToLoadPerfMetricReportPolicy policy) | 450 WebURLRequest::InputToLoadPerfMetricReportPolicy policy) |
(...skipping 15 matching lines...) Expand all Loading... |
471 // Subclasses may call this directly so a self-assignment check is needed | 466 // Subclasses may call this directly so a self-assignment check is needed |
472 // here as well as in the public assign method. | 467 // here as well as in the public assign method. |
473 if (m_private == p) | 468 if (m_private == p) |
474 return; | 469 return; |
475 if (m_private) | 470 if (m_private) |
476 m_private->dispose(); | 471 m_private->dispose(); |
477 m_private = p; | 472 m_private = p; |
478 } | 473 } |
479 | 474 |
480 } // namespace blink | 475 } // namespace blink |
OLD | NEW |