| 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/fetch/FontResource.h" | 5 #include "core/loader/resource/FontResource.h" |
| 6 | 6 |
| 7 #include "core/fetch/FetchInitiatorInfo.h" | 7 #include "core/fetch/FetchInitiatorInfo.h" |
| 8 #include "core/fetch/FetchRequest.h" | 8 #include "core/fetch/FetchRequest.h" |
| 9 #include "core/fetch/MemoryCache.h" | 9 #include "core/fetch/MemoryCache.h" |
| 10 #include "core/fetch/MockFetchContext.h" | 10 #include "core/fetch/MockFetchContext.h" |
| 11 #include "core/fetch/MockResourceClients.h" | 11 #include "core/fetch/MockResourceClients.h" |
| 12 #include "core/fetch/ResourceFetcher.h" | 12 #include "core/fetch/ResourceFetcher.h" |
| 13 #include "core/fetch/ResourceLoader.h" | 13 #include "core/fetch/ResourceLoader.h" |
| 14 #include "platform/exported/WrappedResourceResponse.h" | 14 #include "platform/exported/WrappedResourceResponse.h" |
| 15 #include "platform/network/ResourceRequest.h" | 15 #include "platform/network/ResourceRequest.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 Platform::current()->getURLLoaderMockFactory()->serveAsynchronousRequests(); | 76 Platform::current()->getURLLoaderMockFactory()->serveAsynchronousRequests(); |
| 77 EXPECT_TRUE(resource3->isLoaded()); | 77 EXPECT_TRUE(resource3->isLoaded()); |
| 78 EXPECT_FALSE(resource3->errorOccurred()); | 78 EXPECT_FALSE(resource3->errorOccurred()); |
| 79 EXPECT_TRUE(resource2->isLoaded()); | 79 EXPECT_TRUE(resource2->isLoaded()); |
| 80 EXPECT_FALSE(resource2->errorOccurred()); | 80 EXPECT_FALSE(resource2->errorOccurred()); |
| 81 | 81 |
| 82 memoryCache()->remove(resource1); | 82 memoryCache()->remove(resource1); |
| 83 } | 83 } |
| 84 | 84 |
| 85 } // namespace blink | 85 } // namespace blink |
| OLD | NEW |