| Index: Source/core/fetch/CachedMetadataHandler.h
|
| diff --git a/Source/core/fetch/CachedMetadataHandler.h b/Source/core/fetch/CachedMetadataHandler.h
|
| index 96a5122065b4c19acb919c4c4070d119cd306f37..0f0315eb0fa618b255b6e30eb703add1020252a4 100644
|
| --- a/Source/core/fetch/CachedMetadataHandler.h
|
| +++ b/Source/core/fetch/CachedMetadataHandler.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CachedMetadataHandler_h
|
| #define CachedMetadataHandler_h
|
|
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
|
|
| namespace blink {
|
| @@ -12,13 +13,14 @@ namespace blink {
|
| class CachedMetadata;
|
|
|
| // Handler class for caching operations.
|
| -class CachedMetadataHandler {
|
| +class CachedMetadataHandler : public NoBaseWillBeGarbageCollectedFinalized<CachedMetadataHandler> {
|
| public:
|
| enum CacheType {
|
| SendToPlatform, // send cache data to blink::Platform::cacheMetadata
|
| CacheLocally // cache only in Resource's member variables
|
| };
|
| virtual ~CachedMetadataHandler() { }
|
| + DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| // Caches the given metadata in association with this resource and suggests
|
| // that the platform persist it. The dataTypeID is a pseudo-randomly chosen
|
| // identifier that is used to distinguish data generated by the caller.
|
|
|