Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/MockResource.h

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/loader/fetch/MockResource.h
diff --git a/third_party/WebKit/Source/core/fetch/MockResource.h b/third_party/WebKit/Source/platform/loader/fetch/MockResource.h
similarity index 86%
rename from third_party/WebKit/Source/core/fetch/MockResource.h
rename to third_party/WebKit/Source/platform/loader/fetch/MockResource.h
index b9e227d72ed00d1e1bee2689cf0b8a509e9750d4..49e5df842e31063a2b13be6c6e963fd0ab7206bd 100644
--- a/third_party/WebKit/Source/core/fetch/MockResource.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/MockResource.h
@@ -5,8 +5,9 @@
#ifndef MockResource_h
#define MockResource_h
-#include "core/fetch/Resource.h"
+#include "platform/PlatformExport.h"
#include "platform/heap/Handle.h"
+#include "platform/loader/fetch/Resource.h"
namespace blink {
@@ -18,7 +19,7 @@ struct ResourceLoaderOptions;
// of Resource sub-class in a simple way. You should not expect anything
// complicated to emulate actual sub-resources, but you may be able to use this
// class to verify classes that consume Resource sub-classes in a simple way.
-class MockResource final : public Resource {
+class PLATFORM_EXPORT MockResource final : public Resource {
public:
static MockResource* fetch(FetchRequest&, ResourceFetcher*);
static MockResource* create(const ResourceRequest&);

Powered by Google App Engine
This is Rietveld 408576698