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

Unified Diff: Source/core/fetch/CachedMetadataHandler.h

Issue 1228833004: Oilpan: Move CachedMetadataHandler to Oilpan heap on Oilpan-enabled world. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move #if directives. Created 5 years, 5 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 | « no previous file | Source/core/fetch/Resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | Source/core/fetch/Resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698