| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 void modifyRequestForCSP(ResourceRequest&) override; | 139 void modifyRequestForCSP(ResourceRequest&) override; |
| 140 void addClientHintsIfNecessary(FetchRequest&) override; | 140 void addClientHintsIfNecessary(FetchRequest&) override; |
| 141 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override; | 141 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override; |
| 142 void populateRequestData(ResourceRequest&) override; | 142 void populateRequestData(ResourceRequest&) override; |
| 143 | 143 |
| 144 MHTMLArchive* archive() const override; | 144 MHTMLArchive* archive() const override; |
| 145 | 145 |
| 146 ResourceLoadPriority modifyPriorityForExperiments( | 146 ResourceLoadPriority modifyPriorityForExperiments( |
| 147 ResourceLoadPriority) override; | 147 ResourceLoadPriority) override; |
| 148 | 148 |
| 149 void countClientHintsDPR() override; | |
| 150 void countClientHintsResourceWidth() override; | |
| 151 void countClientHintsViewportWidth() override; | |
| 152 | |
| 153 WebTaskRunner* loadingTaskRunner() const override; | 149 WebTaskRunner* loadingTaskRunner() const override; |
| 154 | 150 |
| 155 DECLARE_VIRTUAL_TRACE(); | 151 DECLARE_VIRTUAL_TRACE(); |
| 156 | 152 |
| 157 private: | 153 private: |
| 158 explicit FrameFetchContext(DocumentLoader*, Document*); | 154 explicit FrameFetchContext(DocumentLoader*, Document*); |
| 159 inline DocumentLoader* masterDocumentLoader() const; | 155 inline DocumentLoader* masterDocumentLoader() const; |
| 160 | 156 |
| 161 LocalFrame* frame() const; // Can be null | 157 LocalFrame* frame() const; // Can be null |
| 162 void printAccessDeniedMessage(const KURL&) const; | 158 void printAccessDeniedMessage(const KURL&) const; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 181 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 177 // FIXME: Oilpan: Ideally this should just be a traced Member but that will |
| 182 // currently leak because ComputedStyle and its data are not on the heap. | 178 // currently leak because ComputedStyle and its data are not on the heap. |
| 183 // See crbug.com/383860 for details. | 179 // See crbug.com/383860 for details. |
| 184 WeakMember<Document> m_document; | 180 WeakMember<Document> m_document; |
| 185 Member<DocumentLoader> m_documentLoader; | 181 Member<DocumentLoader> m_documentLoader; |
| 186 }; | 182 }; |
| 187 | 183 |
| 188 } // namespace blink | 184 } // namespace blink |
| 189 | 185 |
| 190 #endif | 186 #endif |
| OLD | NEW |