| 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 #ifndef PreloadRequest_h | 5 #ifndef PreloadRequest_h |
| 6 #define PreloadRequest_h | 6 #define PreloadRequest_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "platform/CrossOriginAttributeValue.h" | 9 #include "platform/CrossOriginAttributeValue.h" |
| 9 #include "platform/loader/fetch/ClientHintsPreferences.h" | 10 #include "platform/loader/fetch/ClientHintsPreferences.h" |
| 10 #include "platform/loader/fetch/FetchRequest.h" | 11 #include "platform/loader/fetch/FetchRequest.h" |
| 11 #include "platform/loader/fetch/IntegrityMetadata.h" | 12 #include "platform/loader/fetch/IntegrityMetadata.h" |
| 12 #include "platform/loader/fetch/Resource.h" | 13 #include "platform/loader/fetch/Resource.h" |
| 13 #include "platform/weborigin/SecurityPolicy.h" | 14 #include "platform/weborigin/SecurityPolicy.h" |
| 14 #include "wtf/Allocator.h" | 15 #include "wtf/Allocator.h" |
| 15 #include "wtf/PtrUtil.h" | 16 #include "wtf/PtrUtil.h" |
| 16 #include "wtf/text/TextPosition.h" | 17 #include "wtf/text/TextPosition.h" |
| 17 #include <memory> | |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 class Document; | 21 class Document; |
| 22 | 22 |
| 23 class PreloadRequest { | 23 class PreloadRequest { |
| 24 USING_FAST_MALLOC(PreloadRequest); | 24 USING_FAST_MALLOC(PreloadRequest); |
| 25 | 25 |
| 26 public: | 26 public: |
| 27 enum RequestType { | 27 enum RequestType { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 RequestType m_requestType; | 134 RequestType m_requestType; |
| 135 ReferrerPolicy m_referrerPolicy; | 135 ReferrerPolicy m_referrerPolicy; |
| 136 IntegrityMetadataSet m_integrityMetadata; | 136 IntegrityMetadataSet m_integrityMetadata; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 typedef Vector<std::unique_ptr<PreloadRequest>> PreloadRequestStream; | 139 typedef Vector<std::unique_ptr<PreloadRequest>> PreloadRequestStream; |
| 140 | 140 |
| 141 } // namespace blink | 141 } // namespace blink |
| 142 | 142 |
| 143 #endif | 143 #endif |
| OLD | NEW |