| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 * | 24 * |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef CrossOriginAccessControl_h | 27 #ifndef CrossOriginAccessControl_h |
| 28 #define CrossOriginAccessControl_h | 28 #define CrossOriginAccessControl_h |
| 29 | 29 |
| 30 #include "platform/PlatformExport.h" | 30 #include "platform/PlatformExport.h" |
| 31 #include "platform/loader/fetch/ResourceLoaderOptions.h" | 31 #include "platform/loader/fetch/ResourceLoaderOptions.h" |
| 32 #include "platform/loader/fetch/ResourceRequest.h" | 32 #include "platform/loader/fetch/ResourceRequest.h" |
| 33 #include "wtf/Allocator.h" | 33 #include "platform/wtf/Allocator.h" |
| 34 #include "wtf/Forward.h" | 34 #include "platform/wtf/Forward.h" |
| 35 #include "wtf/HashSet.h" | 35 #include "platform/wtf/HashSet.h" |
| 36 #include "wtf/PassRefPtr.h" | 36 #include "platform/wtf/PassRefPtr.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 using HTTPHeaderSet = HashSet<String, CaseFoldingHash>; | 40 using HTTPHeaderSet = HashSet<String, CaseFoldingHash>; |
| 41 | 41 |
| 42 struct ResourceLoaderOptions; | 42 struct ResourceLoaderOptions; |
| 43 class ResourceRequest; | 43 class ResourceRequest; |
| 44 class ResourceResponse; | 44 class ResourceResponse; |
| 45 class SecurityOrigin; | 45 class SecurityOrigin; |
| 46 | 46 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 PLATFORM_EXPORT void parseAccessControlExposeHeadersAllowList( | 147 PLATFORM_EXPORT void parseAccessControlExposeHeadersAllowList( |
| 148 const String& headerValue, | 148 const String& headerValue, |
| 149 HTTPHeaderSet&); | 149 HTTPHeaderSet&); |
| 150 PLATFORM_EXPORT void extractCorsExposedHeaderNamesList(const ResourceResponse&, | 150 PLATFORM_EXPORT void extractCorsExposedHeaderNamesList(const ResourceResponse&, |
| 151 HTTPHeaderSet&); | 151 HTTPHeaderSet&); |
| 152 | 152 |
| 153 } // namespace blink | 153 } // namespace blink |
| 154 | 154 |
| 155 #endif // CrossOriginAccessControl_h | 155 #endif // CrossOriginAccessControl_h |
| OLD | NEW |