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

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

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try 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/RawResource.h
diff --git a/third_party/WebKit/Source/core/fetch/RawResource.h b/third_party/WebKit/Source/platform/loader/fetch/RawResource.h
similarity index 95%
rename from third_party/WebKit/Source/core/fetch/RawResource.h
rename to third_party/WebKit/Source/platform/loader/fetch/RawResource.h
index 95401e137c4f951c0d800e32fd6e722190dbfc1e..6573a2b508a112a2034d66de524fc6ce01c95754 100644
--- a/third_party/WebKit/Source/core/fetch/RawResource.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/RawResource.h
@@ -23,9 +23,9 @@
#ifndef RawResource_h
#define RawResource_h
-#include "core/CoreExport.h"
-#include "core/fetch/Resource.h"
-#include "core/fetch/ResourceClient.h"
+#include "platform/PlatformExport.h"
+#include "platform/loader/fetch/Resource.h"
+#include "platform/loader/fetch/ResourceClient.h"
#include "public/platform/WebDataConsumerHandle.h"
#include "wtf/WeakPtr.h"
#include <memory>
@@ -36,7 +36,7 @@ class RawResourceClient;
class ResourceFetcher;
class SubstituteData;
-class CORE_EXPORT RawResource final : public Resource {
+class PLATFORM_EXPORT RawResource final : public Resource {
public:
using ClientType = RawResourceClient;
@@ -109,7 +109,7 @@ inline RawResource* toRawResource(Resource* resource) {
return static_cast<RawResource*>(resource);
}
-class CORE_EXPORT RawResourceClient : public ResourceClient {
+class PLATFORM_EXPORT RawResourceClient : public ResourceClient {
public:
static bool isExpectedType(ResourceClient* client) {
return client->getResourceClientType() == RawResourceType;
@@ -157,7 +157,7 @@ class CORE_EXPORT RawResourceClient : public ResourceClient {
// Checks the sequence of callbacks of RawResourceClient. This can be used only
// when a RawResourceClient is added as a client to at most one RawResource.
-class CORE_EXPORT RawResourceClientStateChecker final {
+class PLATFORM_EXPORT RawResourceClientStateChecker final {
public:
RawResourceClientStateChecker();
~RawResourceClientStateChecker();

Powered by Google App Engine
This is Rietveld 408576698