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

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

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: Not sure I like this. Created 4 years 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 ResourceLoadPriority modifyPriorityForExperiments( 152 ResourceLoadPriority modifyPriorityForExperiments(
153 ResourceLoadPriority) override; 153 ResourceLoadPriority) override;
154 154
155 void countClientHintsDPR() override; 155 void countClientHintsDPR() override;
156 void countClientHintsResourceWidth() override; 156 void countClientHintsResourceWidth() override;
157 void countClientHintsViewportWidth() override; 157 void countClientHintsViewportWidth() override;
158 158
159 WebTaskRunner* loadingTaskRunner() const override; 159 WebTaskRunner* loadingTaskRunner() const override;
160 160
161 WebInsecureRequestPolicy getInsecureRequestPolicy() const override;
162
161 DECLARE_VIRTUAL_TRACE(); 163 DECLARE_VIRTUAL_TRACE();
162 164
163 private: 165 private:
164 FrameFetchContext(DocumentLoader*, Document*); 166 FrameFetchContext(DocumentLoader*, Document*);
165 inline DocumentLoader* masterDocumentLoader() const; 167 inline DocumentLoader* masterDocumentLoader() const;
166 168
167 LocalFrame* frameOfImportsController() const; 169 LocalFrame* frameOfImportsController() const;
168 LocalFrame* frame() const; 170 LocalFrame* frame() const;
169 void printAccessDeniedMessage(const KURL&) const; 171 void printAccessDeniedMessage(const KURL&) const;
170 ResourceRequestBlockedReason canRequestInternal( 172 ResourceRequestBlockedReason canRequestInternal(
(...skipping 17 matching lines...) Expand all
188 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 190 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
189 // currently leak because ComputedStyle and its data are not on the heap. 191 // currently leak because ComputedStyle and its data are not on the heap.
190 // See crbug.com/383860 for details. 192 // See crbug.com/383860 for details.
191 WeakMember<Document> m_document; 193 WeakMember<Document> m_document;
192 Member<DocumentLoader> m_documentLoader; 194 Member<DocumentLoader> m_documentLoader;
193 }; 195 };
194 196
195 } // namespace blink 197 } // namespace blink
196 198
197 #endif 199 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698