Index: cc/debug/picture_debug_util.h |
diff --git a/cc/debug/picture_debug_util.h b/cc/debug/picture_debug_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..643e398beebfac30050d4616f9d0147a0f1a025e |
--- /dev/null |
+++ b/cc/debug/picture_debug_util.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CC_DEBUG_PICTURE_DEBUG_UTIL_H_ |
+#define CC_DEBUG_PICTURE_DEBUG_UTIL_H_ |
+ |
+#include <string> |
+ |
+class SkPicture; |
+ |
+namespace cc { |
+ |
+class PictureDebugUtil { |
+ public: |
+ static void SerializeInBase64(const SkPicture* picture, std::string* output); |
vmpstr
2015/01/08 21:44:34
nit: Sounds a bit awkward.. maybe SerializeToBase6
ajuma
2015/01/08 22:20:58
Changed to SerializeAsBase64.
|
+}; |
+ |
+} // namespace cc |
+ |
+#endif // CC_DEBUG_PICTURE_DEBUG_UTIL_H_ |