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