Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 21 matching lines...) Expand all
32 #include "platform/network/ResourceRequest.h" 32 #include "platform/network/ResourceRequest.h"
33 #include "wtf/Allocator.h" 33 #include "wtf/Allocator.h"
34 #include "wtf/Forward.h" 34 #include "wtf/Forward.h"
35 #include "wtf/HashSet.h" 35 #include "wtf/HashSet.h"
36 #include "wtf/PassRefPtr.h" 36 #include "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 class Resource;
43 struct ResourceLoaderOptions; 42 struct ResourceLoaderOptions;
44 class ResourceRequest; 43 class ResourceRequest;
45 class ResourceResponse; 44 class ResourceResponse;
46 class SecurityOrigin; 45 class SecurityOrigin;
47 46
48 class CrossOriginAccessControl { 47 class CrossOriginAccessControl {
49 STATIC_ONLY(CrossOriginAccessControl); 48 STATIC_ONLY(CrossOriginAccessControl);
50 49
51 public: 50 public:
52 // Given the new request URL, returns true if 51 // Given the new request URL, returns true if
(...skipping 25 matching lines...) Expand all
78 String& errorDescription); 77 String& errorDescription);
79 CORE_EXPORT void parseAccessControlExposeHeadersAllowList( 78 CORE_EXPORT void parseAccessControlExposeHeadersAllowList(
80 const String& headerValue, 79 const String& headerValue,
81 HTTPHeaderSet&); 80 HTTPHeaderSet&);
82 CORE_EXPORT void extractCorsExposedHeaderNamesList(const ResourceResponse&, 81 CORE_EXPORT void extractCorsExposedHeaderNamesList(const ResourceResponse&,
83 HTTPHeaderSet&); 82 HTTPHeaderSet&);
84 83
85 } // namespace blink 84 } // namespace blink
86 85
87 #endif // CrossOriginAccessControl_h 86 #endif // CrossOriginAccessControl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/WindowEventContext.h ('k') | third_party/WebKit/Source/core/fetch/Resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698