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 24 matching lines...) Expand all Loading... |
35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
36 #include "platform/loader/fetch/FetchInitiatorInfo.h" | 36 #include "platform/loader/fetch/FetchInitiatorInfo.h" |
37 #include "platform/loader/fetch/FetchParameters.h" | 37 #include "platform/loader/fetch/FetchParameters.h" |
38 #include "platform/loader/fetch/Resource.h" | 38 #include "platform/loader/fetch/Resource.h" |
39 #include "platform/loader/fetch/ResourceLoadPriority.h" | 39 #include "platform/loader/fetch/ResourceLoadPriority.h" |
40 #include "platform/loader/fetch/ResourceRequest.h" | 40 #include "platform/loader/fetch/ResourceRequest.h" |
41 #include "platform/network/ContentSecurityPolicyParsers.h" | 41 #include "platform/network/ContentSecurityPolicyParsers.h" |
42 #include "platform/weborigin/SecurityViolationReportingPolicy.h" | 42 #include "platform/weborigin/SecurityViolationReportingPolicy.h" |
43 #include "platform/wtf/Forward.h" | 43 #include "platform/wtf/Forward.h" |
44 #include "platform/wtf/Noncopyable.h" | 44 #include "platform/wtf/Noncopyable.h" |
| 45 #include "public/platform/WebURLLoader.h" |
45 | 46 |
46 namespace blink { | 47 namespace blink { |
47 | 48 |
48 class ClientHintsPreferences; | 49 class ClientHintsPreferences; |
49 class KURL; | 50 class KURL; |
50 class MHTMLArchive; | 51 class MHTMLArchive; |
51 class PlatformProbeSink; | 52 class PlatformProbeSink; |
52 class ResourceError; | 53 class ResourceError; |
53 class ResourceResponse; | 54 class ResourceResponse; |
54 class ResourceTimingInfo; | 55 class ResourceTimingInfo; |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 ResourceLoadPriority priority) { | 208 ResourceLoadPriority priority) { |
208 return priority; | 209 return priority; |
209 } | 210 } |
210 | 211 |
211 virtual RefPtr<WebTaskRunner> LoadingTaskRunner() const { return nullptr; } | 212 virtual RefPtr<WebTaskRunner> LoadingTaskRunner() const { return nullptr; } |
212 | 213 |
213 PlatformProbeSink* GetPlatformProbeSink() const { | 214 PlatformProbeSink* GetPlatformProbeSink() const { |
214 return platform_probe_sink_; | 215 return platform_probe_sink_; |
215 } | 216 } |
216 | 217 |
| 218 virtual std::unique_ptr<WebURLLoader> CreateURLLoader() { return nullptr; } |
| 219 |
217 protected: | 220 protected: |
218 FetchContext(); | 221 FetchContext(); |
219 | 222 |
220 private: | 223 private: |
221 Member<PlatformProbeSink> platform_probe_sink_; | 224 Member<PlatformProbeSink> platform_probe_sink_; |
222 }; | 225 }; |
223 | 226 |
224 } // namespace blink | 227 } // namespace blink |
225 | 228 |
226 #endif | 229 #endif |
OLD | NEW |