OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/loader/ThreadableLoader.h" | 5 #include "core/loader/ThreadableLoader.h" |
6 | 6 |
7 #include "core/dom/ExecutionContextTask.h" | 7 #include "core/dom/ExecutionContextTask.h" |
8 #include "core/fetch/MemoryCache.h" | |
9 #include "core/fetch/ResourceLoaderOptions.h" | |
10 #include "core/loader/DocumentThreadableLoader.h" | 8 #include "core/loader/DocumentThreadableLoader.h" |
11 #include "core/loader/ThreadableLoaderClient.h" | 9 #include "core/loader/ThreadableLoaderClient.h" |
12 #include "core/loader/WorkerThreadableLoader.h" | 10 #include "core/loader/WorkerThreadableLoader.h" |
13 #include "core/testing/DummyPageHolder.h" | 11 #include "core/testing/DummyPageHolder.h" |
14 #include "core/workers/WorkerLoaderProxy.h" | 12 #include "core/workers/WorkerLoaderProxy.h" |
15 #include "core/workers/WorkerThreadTestHelper.h" | 13 #include "core/workers/WorkerThreadTestHelper.h" |
16 #include "platform/WaitableEvent.h" | 14 #include "platform/WaitableEvent.h" |
17 #include "platform/geometry/IntSize.h" | 15 #include "platform/geometry/IntSize.h" |
| 16 #include "platform/loader/fetch/MemoryCache.h" |
| 17 #include "platform/loader/fetch/ResourceLoaderOptions.h" |
18 #include "platform/network/ResourceError.h" | 18 #include "platform/network/ResourceError.h" |
19 #include "platform/network/ResourceRequest.h" | 19 #include "platform/network/ResourceRequest.h" |
20 #include "platform/network/ResourceResponse.h" | 20 #include "platform/network/ResourceResponse.h" |
21 #include "platform/network/ResourceTimingInfo.h" | 21 #include "platform/network/ResourceTimingInfo.h" |
22 #include "platform/testing/URLTestHelpers.h" | 22 #include "platform/testing/URLTestHelpers.h" |
23 #include "platform/testing/UnitTestHelpers.h" | 23 #include "platform/testing/UnitTestHelpers.h" |
24 #include "platform/weborigin/KURL.h" | 24 #include "platform/weborigin/KURL.h" |
25 #include "platform/weborigin/SecurityOrigin.h" | 25 #include "platform/weborigin/SecurityOrigin.h" |
26 #include "public/platform/Platform.h" | 26 #include "public/platform/Platform.h" |
27 #include "public/platform/WebURLLoadTiming.h" | 27 #include "public/platform/WebURLLoadTiming.h" |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 // test is not saying that didFailAccessControlCheck should be dispatched | 880 // test is not saying that didFailAccessControlCheck should be dispatched |
881 // synchronously, but is saying that even when a response is served | 881 // synchronously, but is saying that even when a response is served |
882 // synchronously it should not lead to a crash. | 882 // synchronously it should not lead to a crash. |
883 startLoader(KURL(KURL(), "about:blank")); | 883 startLoader(KURL(KURL(), "about:blank")); |
884 callCheckpoint(2); | 884 callCheckpoint(2); |
885 } | 885 } |
886 | 886 |
887 } // namespace | 887 } // namespace |
888 | 888 |
889 } // namespace blink | 889 } // namespace blink |
OLD | NEW |