| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/html/parser/PreloadRequest.h" | 5 #include "core/html/parser/PreloadRequest.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/fetch/FetchInitiatorInfo.h" | 8 #include "core/fetch/FetchInitiatorInfo.h" |
| 9 #include "core/fetch/ResourceFetcher.h" | 9 #include "core/fetch/ResourceFetcher.h" |
| 10 #include "platform/CrossOriginAttributeValue.h" | 10 #include "platform/CrossOriginAttributeValue.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 request.setDefer(m_defer); | 46 request.setDefer(m_defer); |
| 47 request.setResourceWidth(m_resourceWidth); | 47 request.setResourceWidth(m_resourceWidth); |
| 48 request.clientHintsPreferences().updateFrom(m_clientHintsPreferences); | 48 request.clientHintsPreferences().updateFrom(m_clientHintsPreferences); |
| 49 request.setIntegrityMetadata(m_integrityMetadata); | 49 request.setIntegrityMetadata(m_integrityMetadata); |
| 50 | 50 |
| 51 if (m_requestType == RequestTypeLinkRelPreload) | 51 if (m_requestType == RequestTypeLinkRelPreload) |
| 52 request.setAvoidBlockingOnLoad(true); | 52 request.setAvoidBlockingOnLoad(true); |
| 53 return request; | 53 return request; |
| 54 } | 54 } |
| 55 | 55 |
| 56 } | 56 } // namespace blink |
| OLD | NEW |