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

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

Issue 2389753002: doc.write blocking intervention warning header (Closed)
Patch Set: Rebased till refs/heads/master@{#422406} 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 const ResourceRequest&,
74 Resource::Type, 74 Resource::Type,
75 FetchRequest::DeferOption) const override; 75 FetchRequest::DeferOption,
76 std::pair<AtomicString, AtomicString>&) const override;
76 void dispatchDidChangeResourcePriority(unsigned long identifier, 77 void dispatchDidChangeResourcePriority(unsigned long identifier,
77 ResourceLoadPriority, 78 ResourceLoadPriority,
78 int intraPriorityValue) override; 79 int intraPriorityValue) override;
79 void dispatchWillSendRequest( 80 void dispatchWillSendRequest(
80 unsigned long identifier, 81 unsigned long identifier,
81 ResourceRequest&, 82 ResourceRequest&,
82 const ResourceResponse& redirectResponse, 83 const ResourceResponse& redirectResponse,
83 const FetchInitiatorInfo& = FetchInitiatorInfo()) override; 84 const FetchInitiatorInfo& = FetchInitiatorInfo()) override;
84 void dispatchDidLoadResourceFromMemoryCache( 85 void dispatchDidLoadResourceFromMemoryCache(
85 unsigned long identifier, 86 unsigned long identifier,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 182 // 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. 183 // currently leak because ComputedStyle and its data are not on the heap.
183 // See crbug.com/383860 for details. 184 // See crbug.com/383860 for details.
184 WeakMember<Document> m_document; 185 WeakMember<Document> m_document;
185 Member<DocumentLoader> m_documentLoader; 186 Member<DocumentLoader> m_documentLoader;
186 }; 187 };
187 188
188 } // namespace blink 189 } // namespace blink
189 190
190 #endif 191 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698