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

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: Rebase. :( Created 3 years, 9 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 const FetchRequest::ResourceWidth&, 161 const FetchRequest::ResourceWidth&,
162 ResourceRequest&); 162 ResourceRequest&);
163 163
164 MHTMLArchive* archive() const override; 164 MHTMLArchive* archive() const override;
165 165
166 ResourceLoadPriority modifyPriorityForExperiments( 166 ResourceLoadPriority modifyPriorityForExperiments(
167 ResourceLoadPriority) override; 167 ResourceLoadPriority) override;
168 168
169 RefPtr<WebTaskRunner> loadingTaskRunner() const override; 169 RefPtr<WebTaskRunner> loadingTaskRunner() const override;
170 170
171 WebInsecureRequestPolicy getInsecureRequestPolicy() const override;
172
171 DECLARE_VIRTUAL_TRACE(); 173 DECLARE_VIRTUAL_TRACE();
172 174
173 private: 175 private:
174 FrameFetchContext(DocumentLoader*, Document*); 176 FrameFetchContext(DocumentLoader*, Document*);
175 inline DocumentLoader* masterDocumentLoader() const; 177 inline DocumentLoader* masterDocumentLoader() const;
176 178
177 LocalFrame* frameOfImportsController() const; 179 LocalFrame* frameOfImportsController() const;
178 LocalFrame* frame() const; 180 LocalFrame* frame() const;
179 181
180 LocalFrameClient* localFrameClient() const; 182 LocalFrameClient* localFrameClient() const;
(...skipping 22 matching lines...) Expand all
203 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 205 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
204 // currently leak because ComputedStyle and its data are not on the heap. 206 // currently leak because ComputedStyle and its data are not on the heap.
205 // See crbug.com/383860 for details. 207 // See crbug.com/383860 for details.
206 WeakMember<Document> m_document; 208 WeakMember<Document> m_document;
207 Member<DocumentLoader> m_documentLoader; 209 Member<DocumentLoader> m_documentLoader;
208 }; 210 };
209 211
210 } // namespace blink 212 } // namespace blink
211 213
212 #endif 214 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698