| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CachedMetadataHandler_h | 5 #ifndef CachedMetadataHandler_h |
| 6 #define CachedMetadataHandler_h | 6 #define CachedMetadataHandler_h |
| 7 | 7 |
| 8 #include <stdint.h> |
| 8 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 9 #include "wtf/Forward.h" | 10 #include "wtf/Forward.h" |
| 10 #include <stdint.h> | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CachedMetadata; | 14 class CachedMetadata; |
| 15 | 15 |
| 16 // Handler class for caching operations. | 16 // Handler class for caching operations. |
| 17 class CachedMetadataHandler | 17 class CachedMetadataHandler |
| 18 : public GarbageCollectedFinalized<CachedMetadataHandler> { | 18 : public GarbageCollectedFinalized<CachedMetadataHandler> { |
| 19 public: | 19 public: |
| 20 enum CacheType { | 20 enum CacheType { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 uint32_t dataTypeID) const = 0; | 38 uint32_t dataTypeID) const = 0; |
| 39 // Returns the encoding to which the cache is specific. | 39 // Returns the encoding to which the cache is specific. |
| 40 virtual String encoding() const = 0; | 40 virtual String encoding() const = 0; |
| 41 | 41 |
| 42 protected: | 42 protected: |
| 43 CachedMetadataHandler() {} | 43 CachedMetadataHandler() {} |
| 44 }; | 44 }; |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // CachedMetadataHandler_h | 47 #endif // CachedMetadataHandler_h |
| OLD | NEW |