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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 const FetchParameters::ResourceWidth&, | 153 const FetchParameters::ResourceWidth&, |
154 ResourceRequest&); | 154 ResourceRequest&); |
155 | 155 |
156 MHTMLArchive* Archive() const override; | 156 MHTMLArchive* Archive() const override; |
157 | 157 |
158 ResourceLoadPriority ModifyPriorityForExperiments( | 158 ResourceLoadPriority ModifyPriorityForExperiments( |
159 ResourceLoadPriority) override; | 159 ResourceLoadPriority) override; |
160 | 160 |
161 RefPtr<WebTaskRunner> LoadingTaskRunner() const override; | 161 RefPtr<WebTaskRunner> LoadingTaskRunner() const override; |
162 | 162 |
| 163 WebURLLoader* CreateURLLoader() override; |
| 164 |
163 DECLARE_VIRTUAL_TRACE(); | 165 DECLARE_VIRTUAL_TRACE(); |
164 | 166 |
165 private: | 167 private: |
166 FrameFetchContext(DocumentLoader*, Document*); | 168 FrameFetchContext(DocumentLoader*, Document*); |
167 | 169 |
168 // m_documentLoader is null when loading resources from an HTML import | 170 // m_documentLoader is null when loading resources from an HTML import |
169 // and in such cases we use the document loader of the importing frame. | 171 // and in such cases we use the document loader of the importing frame. |
170 // Convenient accessors below can be used to transparently access the | 172 // Convenient accessors below can be used to transparently access the |
171 // relevant document loader or frame in either cases without null-checks. | 173 // relevant document loader or frame in either cases without null-checks. |
172 // TODO(kinuko): Remove constness, these return non-const members. | 174 // TODO(kinuko): Remove constness, these return non-const members. |
(...skipping 14 matching lines...) Expand all Loading... |
187 SecurityViolationReportingPolicy, | 189 SecurityViolationReportingPolicy, |
188 FetchParameters::OriginRestriction, | 190 FetchParameters::OriginRestriction, |
189 ResourceRequest::RedirectStatus) const; | 191 ResourceRequest::RedirectStatus) const; |
190 | 192 |
191 Member<DocumentLoader> document_loader_; | 193 Member<DocumentLoader> document_loader_; |
192 }; | 194 }; |
193 | 195 |
194 } // namespace blink | 196 } // namespace blink |
195 | 197 |
196 #endif | 198 #endif |
OLD | NEW |