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

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

Issue 2372563002: Adding Embedding-CSP HTTP header (Closed)
Patch Set: Separating into two functions 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 int64_t serviceWorkerID() const override; 91 int64_t serviceWorkerID() const override;
92 92
93 bool isMainFrame() const override; 93 bool isMainFrame() const override;
94 bool defersLoading() const override; 94 bool defersLoading() const override;
95 bool isLoadComplete() const override; 95 bool isLoadComplete() const override;
96 bool pageDismissalEventBeingDispatched() const override; 96 bool pageDismissalEventBeingDispatched() const override;
97 bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) override; 97 bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) override;
98 void sendImagePing(const KURL&) override; 98 void sendImagePing(const KURL&) override;
99 void addConsoleMessage(const String&, LogMessageType = LogErrorMessage) cons t override; 99 void addConsoleMessage(const String&, LogMessageType = LogErrorMessage) cons t override;
100 SecurityOrigin* getSecurityOrigin() const override; 100 SecurityOrigin* getSecurityOrigin() const override;
101 void upgradeInsecureRequest(ResourceRequest&) override; 101 void addOutgoingSecurityHeadersAndUpgradeRequest(ResourceRequest&) override;
102 void addClientHintsIfNecessary(FetchRequest&) override; 102 void addClientHintsIfNecessary(FetchRequest&) override;
103 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override; 103 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;
104 void populateRequestData(ResourceRequest&) override; 104 void populateRequestData(ResourceRequest&) override;
105 105
106 MHTMLArchive* archive() const override; 106 MHTMLArchive* archive() const override;
107 107
108 ResourceLoadPriority modifyPriorityForExperiments(ResourceLoadPriority) over ride; 108 ResourceLoadPriority modifyPriorityForExperiments(ResourceLoadPriority) over ride;
109 109
110 void countClientHintsDPR() override; 110 void countClientHintsDPR() override;
111 void countClientHintsResourceWidth() override; 111 void countClientHintsResourceWidth() override;
(...skipping 18 matching lines...) Expand all
130 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 130 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
131 // currently leak because ComputedStyle and its data are not on the heap. 131 // currently leak because ComputedStyle and its data are not on the heap.
132 // See crbug.com/383860 for details. 132 // See crbug.com/383860 for details.
133 WeakMember<Document> m_document; 133 WeakMember<Document> m_document;
134 Member<DocumentLoader> m_documentLoader; 134 Member<DocumentLoader> m_documentLoader;
135 }; 135 };
136 136
137 } // namespace blink 137 } // namespace blink
138 138
139 #endif 139 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698