| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 } | 393 } |
| 394 | 394 |
| 395 void WebURLRequest::setUiStartTime(double timeSeconds) { | 395 void WebURLRequest::setUiStartTime(double timeSeconds) { |
| 396 m_resourceRequest->setUIStartTime(timeSeconds); | 396 m_resourceRequest->setUIStartTime(timeSeconds); |
| 397 } | 397 } |
| 398 | 398 |
| 399 bool WebURLRequest::isExternalRequest() const { | 399 bool WebURLRequest::isExternalRequest() const { |
| 400 return m_resourceRequest->isExternalRequest(); | 400 return m_resourceRequest->isExternalRequest(); |
| 401 } | 401 } |
| 402 | 402 |
| 403 WebInsecureRequestPolicy WebURLRequest::getInsecureRequestPolicy() const { |
| 404 return m_resourceRequest->getInsecureRequestPolicy(); |
| 405 } |
| 406 |
| 403 WebURLRequest::LoadingIPCType WebURLRequest::getLoadingIPCType() const { | 407 WebURLRequest::LoadingIPCType WebURLRequest::getLoadingIPCType() const { |
| 404 if (RuntimeEnabledFeatures::loadingWithMojoEnabled()) | 408 if (RuntimeEnabledFeatures::loadingWithMojoEnabled()) |
| 405 return WebURLRequest::LoadingIPCType::Mojo; | 409 return WebURLRequest::LoadingIPCType::Mojo; |
| 406 return WebURLRequest::LoadingIPCType::ChromeIPC; | 410 return WebURLRequest::LoadingIPCType::ChromeIPC; |
| 407 } | 411 } |
| 408 | 412 |
| 409 void WebURLRequest::setNavigationStartTime(double navigationStartSeconds) { | 413 void WebURLRequest::setNavigationStartTime(double navigationStartSeconds) { |
| 410 m_resourceRequest->setNavigationStartTime(navigationStartSeconds); | 414 m_resourceRequest->setNavigationStartTime(navigationStartSeconds); |
| 411 } | 415 } |
| 412 | 416 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 427 } | 431 } |
| 428 | 432 |
| 429 const ResourceRequest& WebURLRequest::toResourceRequest() const { | 433 const ResourceRequest& WebURLRequest::toResourceRequest() const { |
| 430 DCHECK(m_resourceRequest); | 434 DCHECK(m_resourceRequest); |
| 431 return *m_resourceRequest; | 435 return *m_resourceRequest; |
| 432 } | 436 } |
| 433 | 437 |
| 434 WebURLRequest::WebURLRequest(ResourceRequest& r) : m_resourceRequest(&r) {} | 438 WebURLRequest::WebURLRequest(ResourceRequest& r) : m_resourceRequest(&r) {} |
| 435 | 439 |
| 436 } // namespace blink | 440 } // namespace blink |
| OLD | NEW |