| 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 <memory> |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "platform/CrossOriginAttributeValue.h" | 10 #include "platform/CrossOriginAttributeValue.h" |
| 11 #include "platform/loader/fetch/ClientHintsPreferences.h" | 11 #include "platform/loader/fetch/ClientHintsPreferences.h" |
| 12 #include "platform/loader/fetch/FetchRequest.h" | 12 #include "platform/loader/fetch/FetchRequest.h" |
| 13 #include "platform/loader/fetch/IntegrityMetadata.h" | 13 #include "platform/loader/fetch/IntegrityMetadata.h" |
| 14 #include "platform/loader/fetch/Resource.h" | 14 #include "platform/loader/fetch/Resource.h" |
| 15 #include "platform/weborigin/SecurityPolicy.h" | 15 #include "platform/weborigin/SecurityPolicy.h" |
| 16 #include "wtf/Allocator.h" | 16 #include "platform/wtf/Allocator.h" |
| 17 #include "wtf/PtrUtil.h" | 17 #include "platform/wtf/PtrUtil.h" |
| 18 #include "wtf/text/TextPosition.h" | 18 #include "platform/wtf/text/TextPosition.h" |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 class Document; | 22 class Document; |
| 23 | 23 |
| 24 class CORE_EXPORT PreloadRequest { | 24 class CORE_EXPORT PreloadRequest { |
| 25 USING_FAST_MALLOC(PreloadRequest); | 25 USING_FAST_MALLOC(PreloadRequest); |
| 26 | 26 |
| 27 public: | 27 public: |
| 28 enum RequestType { | 28 enum RequestType { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 ReferrerPolicy referrer_policy_; | 142 ReferrerPolicy referrer_policy_; |
| 143 ReferrerSource referrer_source_; | 143 ReferrerSource referrer_source_; |
| 144 IntegrityMetadataSet integrity_metadata_; | 144 IntegrityMetadataSet integrity_metadata_; |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 typedef Vector<std::unique_ptr<PreloadRequest>> PreloadRequestStream; | 147 typedef Vector<std::unique_ptr<PreloadRequest>> PreloadRequestStream; |
| 148 | 148 |
| 149 } // namespace blink | 149 } // namespace blink |
| 150 | 150 |
| 151 #endif | 151 #endif |
| OLD | NEW |