| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #ifndef FetchRequest_h | 26 #ifndef FetchRequest_h |
| 27 #define FetchRequest_h | 27 #define FetchRequest_h |
| 28 | 28 |
| 29 #include "platform/CrossOriginAttributeValue.h" | 29 #include "platform/CrossOriginAttributeValue.h" |
| 30 #include "platform/PlatformExport.h" | 30 #include "platform/PlatformExport.h" |
| 31 #include "platform/loader/fetch/ClientHintsPreferences.h" | 31 #include "platform/loader/fetch/ClientHintsPreferences.h" |
| 32 #include "platform/loader/fetch/FetchInitiatorInfo.h" | 32 #include "platform/loader/fetch/FetchInitiatorInfo.h" |
| 33 #include "platform/loader/fetch/IntegrityMetadata.h" | 33 #include "platform/loader/fetch/IntegrityMetadata.h" |
| 34 #include "platform/loader/fetch/ResourceLoaderOptions.h" | 34 #include "platform/loader/fetch/ResourceLoaderOptions.h" |
| 35 #include "platform/loader/fetch/ResourceRequest.h" | 35 #include "platform/loader/fetch/ResourceRequest.h" |
| 36 #include "wtf/Allocator.h" | 36 #include "platform/wtf/Allocator.h" |
| 37 #include "wtf/text/AtomicString.h" | 37 #include "platform/wtf/text/AtomicString.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 class SecurityOrigin; | 40 class SecurityOrigin; |
| 41 | 41 |
| 42 // A FetchRequest is a "parameter object" for ResourceFetcher::requestResource | 42 // A FetchRequest is a "parameter object" for ResourceFetcher::requestResource |
| 43 // to avoid the method having too many arguments. | 43 // to avoid the method having too many arguments. |
| 44 class PLATFORM_EXPORT FetchRequest { | 44 class PLATFORM_EXPORT FetchRequest { |
| 45 STACK_ALLOCATED(); | 45 STACK_ALLOCATED(); |
| 46 | 46 |
| 47 public: | 47 public: |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 DeferOption m_defer; | 163 DeferOption m_defer; |
| 164 OriginRestriction m_originRestriction; | 164 OriginRestriction m_originRestriction; |
| 165 ResourceWidth m_resourceWidth; | 165 ResourceWidth m_resourceWidth; |
| 166 ClientHintsPreferences m_clientHintPreferences; | 166 ClientHintsPreferences m_clientHintPreferences; |
| 167 PlaceholderImageRequestType m_placeholderImageRequestType; | 167 PlaceholderImageRequestType m_placeholderImageRequestType; |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 } // namespace blink | 170 } // namespace blink |
| 171 | 171 |
| 172 #endif | 172 #endif |
| OLD | NEW |