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

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: DCHECK. 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override; 147 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;
148 void populateRequestData(ResourceRequest&) override; 148 void populateRequestData(ResourceRequest&) override;
149 149
150 MHTMLArchive* archive() const override; 150 MHTMLArchive* archive() const override;
151 151
152 ResourceLoadPriority modifyPriorityForExperiments( 152 ResourceLoadPriority modifyPriorityForExperiments(
153 ResourceLoadPriority) override; 153 ResourceLoadPriority) override;
154 154
155 WebTaskRunner* loadingTaskRunner() const override; 155 WebTaskRunner* loadingTaskRunner() const override;
156 156
157 WebInsecureRequestPolicy getInsecureRequestPolicy() const override;
158
157 DECLARE_VIRTUAL_TRACE(); 159 DECLARE_VIRTUAL_TRACE();
158 160
159 private: 161 private:
160 FrameFetchContext(DocumentLoader*, Document*); 162 FrameFetchContext(DocumentLoader*, Document*);
161 inline DocumentLoader* masterDocumentLoader() const; 163 inline DocumentLoader* masterDocumentLoader() const;
162 164
163 LocalFrame* frameOfImportsController() const; 165 LocalFrame* frameOfImportsController() const;
164 LocalFrame* frame() const; 166 LocalFrame* frame() const;
165 void printAccessDeniedMessage(const KURL&) const; 167 void printAccessDeniedMessage(const KURL&) const;
166 ResourceRequestBlockedReason canRequestInternal( 168 ResourceRequestBlockedReason canRequestInternal(
(...skipping 17 matching lines...) Expand all
184 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 186 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
185 // currently leak because ComputedStyle and its data are not on the heap. 187 // currently leak because ComputedStyle and its data are not on the heap.
186 // See crbug.com/383860 for details. 188 // See crbug.com/383860 for details.
187 WeakMember<Document> m_document; 189 WeakMember<Document> m_document;
188 Member<DocumentLoader> m_documentLoader; 190 Member<DocumentLoader> m_documentLoader;
189 }; 191 };
190 192
191 } // namespace blink 193 } // namespace blink
192 194
193 #endif 195 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698