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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 2797423004: Remove FrameFetchContext::dispatchDidReceiveResponseInternal declaration (Closed)
Patch Set: Created 3 years, 8 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef FrameFetchContext_h 31 #ifndef FrameFetchContext_h
32 #define FrameFetchContext_h 32 #define FrameFetchContext_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/frame/csp/ContentSecurityPolicy.h" 35 #include "core/frame/csp/ContentSecurityPolicy.h"
36 #include "core/loader/LinkLoader.h"
37 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
38 #include "platform/loader/fetch/FetchContext.h" 37 #include "platform/loader/fetch/FetchContext.h"
39 #include "platform/loader/fetch/FetchRequest.h" 38 #include "platform/loader/fetch/FetchRequest.h"
40 #include "platform/loader/fetch/ResourceFetcher.h" 39 #include "platform/loader/fetch/ResourceFetcher.h"
41 #include "platform/loader/fetch/ResourceRequest.h" 40 #include "platform/loader/fetch/ResourceRequest.h"
42 #include "wtf/Forward.h" 41 #include "wtf/Forward.h"
43 42
44 namespace blink { 43 namespace blink {
45 44
46 class ClientHintsPreferences; 45 class ClientHintsPreferences;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void printAccessDeniedMessage(const KURL&) const; 188 void printAccessDeniedMessage(const KURL&) const;
190 ResourceRequestBlockedReason canRequestInternal( 189 ResourceRequestBlockedReason canRequestInternal(
191 Resource::Type, 190 Resource::Type,
192 const ResourceRequest&, 191 const ResourceRequest&,
193 const KURL&, 192 const KURL&,
194 const ResourceLoaderOptions&, 193 const ResourceLoaderOptions&,
195 SecurityViolationReportingPolicy, 194 SecurityViolationReportingPolicy,
196 FetchRequest::OriginRestriction, 195 FetchRequest::OriginRestriction,
197 ResourceRequest::RedirectStatus) const; 196 ResourceRequest::RedirectStatus) const;
198 197
199 void dispatchDidReceiveResponseInternal(unsigned long identifier,
200 const ResourceResponse&,
201 WebURLRequest::FrameType,
202 WebURLRequest::RequestContext,
203 Resource*,
204 LinkLoader::CanLoadResources);
205
206 void addCSPHeaderIfNecessary(Resource::Type, ResourceRequest&); 198 void addCSPHeaderIfNecessary(Resource::Type, ResourceRequest&);
207 199
208 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 200 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
209 // currently leak because ComputedStyle and its data are not on the heap. 201 // currently leak because ComputedStyle and its data are not on the heap.
210 // See crbug.com/383860 for details. 202 // See crbug.com/383860 for details.
211 WeakMember<Document> m_document; 203 WeakMember<Document> m_document;
212 Member<DocumentLoader> m_documentLoader; 204 Member<DocumentLoader> m_documentLoader;
213 }; 205 };
214 206
215 } // namespace blink 207 } // namespace blink
216 208
217 #endif 209 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698