| 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
|
|
|
|
|