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