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

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

Issue 2389753002: doc.write blocking intervention warning header (Closed)
Patch Set: Feedback incorporated Created 4 years, 2 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
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 ~FrameFetchContext(); 65 ~FrameFetchContext();
66 66
67 bool isLiveContext() { return true; } 67 bool isLiveContext() { return true; }
68 68
69 void addAdditionalRequestHeaders(ResourceRequest&, 69 void addAdditionalRequestHeaders(ResourceRequest&,
70 FetchResourceType) override; 70 FetchResourceType) override;
71 CachePolicy getCachePolicy() const override; 71 CachePolicy getCachePolicy() const override;
72 WebCachePolicy resourceRequestCachePolicy( 72 WebCachePolicy resourceRequestCachePolicy(
73 const ResourceRequest&, 73 ResourceRequest&,
74 Resource::Type, 74 Resource::Type,
75 FetchRequest::DeferOption) const override; 75 FetchRequest::DeferOption) const override;
76 void dispatchDidChangeResourcePriority(unsigned long identifier, 76 void dispatchDidChangeResourcePriority(unsigned long identifier,
77 ResourceLoadPriority, 77 ResourceLoadPriority,
78 int intraPriorityValue) override; 78 int intraPriorityValue) override;
79 void dispatchWillSendRequest( 79 void dispatchWillSendRequest(
80 unsigned long identifier, 80 unsigned long identifier,
81 ResourceRequest&, 81 ResourceRequest&,
82 const ResourceResponse& redirectResponse, 82 const ResourceResponse& redirectResponse,
83 const FetchInitiatorInfo& = FetchInitiatorInfo()) override; 83 const FetchInitiatorInfo& = FetchInitiatorInfo()) override;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 181 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
182 // currently leak because ComputedStyle and its data are not on the heap. 182 // currently leak because ComputedStyle and its data are not on the heap.
183 // See crbug.com/383860 for details. 183 // See crbug.com/383860 for details.
184 WeakMember<Document> m_document; 184 WeakMember<Document> m_document;
185 Member<DocumentLoader> m_documentLoader; 185 Member<DocumentLoader> m_documentLoader;
186 }; 186 };
187 187
188 } // namespace blink 188 } // namespace blink
189 189
190 #endif 190 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698