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

Unified Diff: cc/debug/picture_debug_util.h

Issue 816443003: cc: Include pictures in trace output for DisplayItemLists (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 11 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
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_
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug/picture_debug_util.cc » ('j') | cc/resources/display_item_list.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698