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

Unified Diff: third_party/WebKit/public/platform/WebCache.h

Issue 2675303004: Move WebCache from public/web into public/platform (Closed)
Patch Set: . Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698