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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/Resource.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/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
similarity index 97%
rename from third_party/WebKit/Source/core/fetch/Resource.h
rename to third_party/WebKit/Source/platform/loader/fetch/Resource.h
index 36c8eefe47767bd3a5e9736d003ab1dcd2cbc47c..ce181b0055373dbd83f13b3343379aece582d987 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
@@ -24,15 +24,15 @@
#ifndef Resource_h
#define Resource_h
-#include "core/CoreExport.h"
-#include "core/fetch/CachedMetadataHandler.h"
-#include "core/fetch/IntegrityMetadata.h"
-#include "core/fetch/ResourceLoaderOptions.h"
-#include "core/fetch/ResourceStatus.h"
#include "platform/MemoryCoordinator.h"
+#include "platform/PlatformExport.h"
#include "platform/SharedBuffer.h"
#include "platform/Timer.h"
#include "platform/instrumentation/tracing/web_process_memory_dump.h"
+#include "platform/loader/fetch/CachedMetadataHandler.h"
+#include "platform/loader/fetch/IntegrityMetadata.h"
+#include "platform/loader/fetch/ResourceLoaderOptions.h"
+#include "platform/loader/fetch/ResourceStatus.h"
#include "platform/network/ResourceError.h"
#include "platform/network/ResourceLoadPriority.h"
#include "platform/network/ResourceRequest.h"
@@ -59,8 +59,8 @@ class SecurityOrigin;
// should derive from ResourceClient, to get the function calls in case the
// requested data has arrived. This class also does the actual communication
// with the loader to obtain the resource from the network.
-class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
- public MemoryCoordinatorClient {
+class PLATFORM_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
+ public MemoryCoordinatorClient {
USING_GARBAGE_COLLECTED_MIXIN(Resource);
WTF_MAKE_NONCOPYABLE(Resource);

Powered by Google App Engine
This is Rietveld 408576698