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 CC_DEBUG_PICTURE_DEBUG_UTIL_H_ | 5 #ifndef CC_DEBUG_PICTURE_DEBUG_UTIL_H_ |
6 #define CC_DEBUG_PICTURE_DEBUG_UTIL_H_ | 6 #define CC_DEBUG_PICTURE_DEBUG_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "cc/debug/debug_export.h" |
| 11 |
10 class SkPicture; | 12 class SkPicture; |
11 | 13 |
12 namespace cc { | 14 namespace cc { |
13 | 15 |
14 class PictureDebugUtil { | 16 class CC_DEBUG_EXPORT PictureDebugUtil { |
15 public: | 17 public: |
16 static void SerializeAsBase64(const SkPicture* picture, std::string* output); | 18 static void SerializeAsBase64(const SkPicture* picture, std::string* output); |
17 }; | 19 }; |
18 | 20 |
19 } // namespace cc | 21 } // namespace cc |
20 | 22 |
21 #endif // CC_DEBUG_PICTURE_DEBUG_UTIL_H_ | 23 #endif // CC_DEBUG_PICTURE_DEBUG_UTIL_H_ |
OLD | NEW |