Index: third_party/WebKit/Source/platform/loader/fetch/ResourceTest.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/ResourceTest.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceTest.cpp |
similarity index 92% |
rename from third_party/WebKit/Source/core/fetch/ResourceTest.cpp |
rename to third_party/WebKit/Source/platform/loader/fetch/ResourceTest.cpp |
index 5319046aea4aab568d774619abca5dee120620d1..a421b170e8a9f71744d5ea51eeaa7f598af58684 100644 |
--- a/third_party/WebKit/Source/core/fetch/ResourceTest.cpp |
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceTest.cpp |
@@ -2,11 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "core/fetch/Resource.h" |
+#include "platform/loader/fetch/Resource.h" |
-#include "core/fetch/MemoryCache.h" |
-#include "core/fetch/RawResource.h" |
#include "platform/SharedBuffer.h" |
+#include "platform/loader/fetch/RawResource.h" |
#include "platform/network/ResourceRequest.h" |
#include "platform/network/ResourceResponse.h" |
#include "platform/testing/TestingPlatformSupport.h" |
@@ -19,7 +18,7 @@ namespace blink { |
namespace { |
-class MockPlatform final : public TestingPlatformSupport { |
+class MockPlatform final : public TestingPlatformSupportWithMockScheduler { |
public: |
MockPlatform() {} |
~MockPlatform() override {} |
@@ -72,6 +71,7 @@ TEST( |
} |
TEST(ResourceTest, RevalidateWithFragment) { |
+ ScopedTestingPlatformSupport<MockPlatform> mock; |
KURL url(ParsedURLString, "http://127.0.0.1:8000/foo.html"); |
ResourceResponse response; |
response.setURL(url); |