| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 void modifyRequestForCSP(ResourceRequest&) override; | 145 void modifyRequestForCSP(ResourceRequest&) override; |
| 146 void addClientHintsIfNecessary(FetchRequest&) override; | 146 void addClientHintsIfNecessary(FetchRequest&) override; |
| 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 void countClientHintsDPR() override; | |
| 156 void countClientHintsResourceWidth() override; | |
| 157 void countClientHintsViewportWidth() override; | |
| 158 | |
| 159 WebTaskRunner* loadingTaskRunner() const override; | 155 WebTaskRunner* loadingTaskRunner() const override; |
| 160 | 156 |
| 161 DECLARE_VIRTUAL_TRACE(); | 157 DECLARE_VIRTUAL_TRACE(); |
| 162 | 158 |
| 163 private: | 159 private: |
| 164 FrameFetchContext(DocumentLoader*, Document*); | 160 FrameFetchContext(DocumentLoader*, Document*); |
| 165 inline DocumentLoader* masterDocumentLoader() const; | 161 inline DocumentLoader* masterDocumentLoader() const; |
| 166 | 162 |
| 167 LocalFrame* frameOfImportsController() const; | 163 LocalFrame* frameOfImportsController() const; |
| 168 LocalFrame* frame() const; | 164 LocalFrame* frame() const; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 188 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 184 // 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. | 185 // currently leak because ComputedStyle and its data are not on the heap. |
| 190 // See crbug.com/383860 for details. | 186 // See crbug.com/383860 for details. |
| 191 WeakMember<Document> m_document; | 187 WeakMember<Document> m_document; |
| 192 Member<DocumentLoader> m_documentLoader; | 188 Member<DocumentLoader> m_documentLoader; |
| 193 }; | 189 }; |
| 194 | 190 |
| 195 } // namespace blink | 191 } // namespace blink |
| 196 | 192 |
| 197 #endif | 193 #endif |
| OLD | NEW |