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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/MemoryCache.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/MemoryCache.h
diff --git a/third_party/WebKit/Source/core/fetch/MemoryCache.h b/third_party/WebKit/Source/platform/loader/fetch/MemoryCache.h
similarity index 96%
rename from third_party/WebKit/Source/core/fetch/MemoryCache.h
rename to third_party/WebKit/Source/platform/loader/fetch/MemoryCache.h
index 684067eaaa6f31da71c872a39fe3ed7be555ae8d..93de50544809982dc7d3724278d88c955dd9990d 100644
--- a/third_party/WebKit/Source/core/fetch/MemoryCache.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/MemoryCache.h
@@ -26,10 +26,10 @@
#ifndef MemoryCache_h
#define MemoryCache_h
-#include "core/CoreExport.h"
-#include "core/fetch/Resource.h"
#include "platform/MemoryCoordinator.h"
+#include "platform/PlatformExport.h"
#include "platform/instrumentation/tracing/MemoryCacheDumpProvider.h"
+#include "platform/loader/fetch/Resource.h"
#include "public/platform/WebThread.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
@@ -70,7 +70,7 @@ WILL_NOT_BE_EAGERLY_TRACED_CLASS(MemoryCacheEntry);
// This cache holds subresources used by Web pages: images, scripts,
// stylesheets, etc.
-class CORE_EXPORT MemoryCache final
+class PLATFORM_EXPORT MemoryCache final
: public GarbageCollectedFinalized<MemoryCache>,
public WebThread::TaskObserver,
public MemoryCacheDumpClient,
@@ -209,11 +209,11 @@ class CORE_EXPORT MemoryCache final
};
// Returns the global cache.
-CORE_EXPORT MemoryCache* memoryCache();
+PLATFORM_EXPORT MemoryCache* memoryCache();
// Sets the global cache, used to swap in a test instance. Returns the old
// MemoryCache object.
-CORE_EXPORT MemoryCache* replaceMemoryCacheForTesting(MemoryCache*);
+PLATFORM_EXPORT MemoryCache* replaceMemoryCacheForTesting(MemoryCache*);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698