OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CC_BLIMP_IMAGE_SERIALIZATION_PROCESSOR_H_ | |
6 #define CC_BLIMP_IMAGE_SERIALIZATION_PROCESSOR_H_ | |
7 | |
8 #include "base/memory/ptr_util.h" | |
9 | |
10 namespace cc { | |
11 | |
12 class ClientPictureCache; | |
13 class EnginePictureCache; | |
14 | |
15 // ImageSerializationProcessor provides functionality to serialize, | |
16 // deserialize and cache Skia images. | |
17 class ImageSerializationProcessor { | |
18 public: | |
19 virtual ~ImageSerializationProcessor() {} | |
20 | |
21 virtual std::unique_ptr<EnginePictureCache> CreateEnginePictureCache() = 0; | |
22 virtual std::unique_ptr<ClientPictureCache> CreateClientPictureCache() = 0; | |
23 }; | |
24 | |
25 } // namespace cc | |
26 | |
27 #endif // CC_BLIMP_IMAGE_SERIALIZATION_PROCESSOR_H_ | |
OLD | NEW |