| Index: third_party/WebKit/public/platform/WebCache.h
|
| diff --git a/third_party/WebKit/public/web/WebCache.h b/third_party/WebKit/public/platform/WebCache.h
|
| similarity index 88%
|
| rename from third_party/WebKit/public/web/WebCache.h
|
| rename to third_party/WebKit/public/platform/WebCache.h
|
| index 4fad5846d5918385469d68f6c51a059962f57e1e..0d72b8cb952c3f1f5842493f3d08844cfb885c2e 100644
|
| --- a/third_party/WebKit/public/web/WebCache.h
|
| +++ b/third_party/WebKit/public/platform/WebCache.h
|
| @@ -31,11 +31,11 @@
|
| #ifndef WebCache_h
|
| #define WebCache_h
|
|
|
| -#include "../platform/WebCommon.h"
|
| +#include "WebCommon.h"
|
|
|
| namespace blink {
|
|
|
| -// An interface to query and configure WebKit's resource cache.
|
| +// An interface to query and configure Blink's resource cache.
|
| class WebCache {
|
| public:
|
| struct UsageStats {
|
| @@ -61,18 +61,18 @@ class WebCache {
|
| };
|
|
|
| // Sets the capacities of the resource cache, evicting objects as necessary.
|
| - BLINK_EXPORT static void setCapacity(size_t);
|
| + BLINK_PLATFORM_EXPORT static void setCapacity(size_t);
|
|
|
| // Clears the cache (as much as possible; some resources may not be
|
| // cleared if they are actively referenced). Note that this method
|
| // only removes resources from live list, w/o releasing cache memory.
|
| - BLINK_EXPORT static void clear();
|
| + BLINK_PLATFORM_EXPORT static void clear();
|
|
|
| // Gets the usage statistics from the resource cache.
|
| - BLINK_EXPORT static void getUsageStats(UsageStats*);
|
| + BLINK_PLATFORM_EXPORT static void getUsageStats(UsageStats*);
|
|
|
| // Get usage stats about the resource cache.
|
| - BLINK_EXPORT static void getResourceTypeStats(ResourceTypeStats*);
|
| + BLINK_PLATFORM_EXPORT static void getResourceTypeStats(ResourceTypeStats*);
|
|
|
| private:
|
| WebCache(); // Not intended to be instanced.
|
|
|