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/CrossThreadTask.h" | 7 #include "core/dom/ExecutionContextTask.h" |
8 #include "core/fetch/MemoryCache.h" | 8 #include "core/fetch/MemoryCache.h" |
9 #include "core/fetch/ResourceLoaderOptions.h" | 9 #include "core/fetch/ResourceLoaderOptions.h" |
10 #include "core/loader/DocumentThreadableLoader.h" | 10 #include "core/loader/DocumentThreadableLoader.h" |
11 #include "core/loader/ThreadableLoaderClient.h" | 11 #include "core/loader/ThreadableLoaderClient.h" |
12 #include "core/loader/WorkerThreadableLoader.h" | 12 #include "core/loader/WorkerThreadableLoader.h" |
13 #include "core/testing/DummyPageHolder.h" | 13 #include "core/testing/DummyPageHolder.h" |
14 #include "core/workers/WorkerLoaderProxy.h" | 14 #include "core/workers/WorkerLoaderProxy.h" |
15 #include "core/workers/WorkerThreadTestHelper.h" | 15 #include "core/workers/WorkerThreadTestHelper.h" |
16 #include "platform/WaitableEvent.h" | 16 #include "platform/WaitableEvent.h" |
17 #include "platform/geometry/IntSize.h" | 17 #include "platform/geometry/IntSize.h" |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 EXPECT_CALL(*client(), didFailRedirectCheck()).WillOnce(InvokeWithoutArgs(th
is, &ThreadableLoaderTest::clearLoader)); | 848 EXPECT_CALL(*client(), didFailRedirectCheck()).WillOnce(InvokeWithoutArgs(th
is, &ThreadableLoaderTest::clearLoader)); |
849 | 849 |
850 startLoader(redirectLoopURL()); | 850 startLoader(redirectLoopURL()); |
851 callCheckpoint(2); | 851 callCheckpoint(2); |
852 serveRequests(); | 852 serveRequests(); |
853 } | 853 } |
854 | 854 |
855 } // namespace | 855 } // namespace |
856 | 856 |
857 } // namespace blink | 857 } // namespace blink |
OLD | NEW |