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

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

Issue 2372563002: Adding Embedding-CSP HTTP header (Closed)
Patch Set: ASCII DCHECK and a comment 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 bool isMainFrame() const override; 130 bool isMainFrame() const override;
131 bool defersLoading() const override; 131 bool defersLoading() const override;
132 bool isLoadComplete() const override; 132 bool isLoadComplete() const override;
133 bool pageDismissalEventBeingDispatched() const override; 133 bool pageDismissalEventBeingDispatched() const override;
134 bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) override; 134 bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) override;
135 void sendImagePing(const KURL&) override; 135 void sendImagePing(const KURL&) override;
136 void addConsoleMessage(const String&, 136 void addConsoleMessage(const String&,
137 LogMessageType = LogErrorMessage) const override; 137 LogMessageType = LogErrorMessage) const override;
138 SecurityOrigin* getSecurityOrigin() const override; 138 SecurityOrigin* getSecurityOrigin() const override;
139 void upgradeInsecureRequest(ResourceRequest&) override; 139 void modifyRequestForCSP(ResourceRequest&) override;
140 void addClientHintsIfNecessary(FetchRequest&) override; 140 void addClientHintsIfNecessary(FetchRequest&) override;
141 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override; 141 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;
142 void populateRequestData(ResourceRequest&) override; 142 void populateRequestData(ResourceRequest&) override;
143 143
144 MHTMLArchive* archive() const override; 144 MHTMLArchive* archive() const override;
145 145
146 ResourceLoadPriority modifyPriorityForExperiments( 146 ResourceLoadPriority modifyPriorityForExperiments(
147 ResourceLoadPriority) override; 147 ResourceLoadPriority) override;
148 148
149 void countClientHintsDPR() override; 149 void countClientHintsDPR() override;
(...skipping 31 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/html/HTMLIFrameElement.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