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

Unified Diff: include/core/SkFlattenableSerialization.h

Issue 22591002: Adding 2 functions to the Skia API (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Back to generic SkFlattenable version Created 7 years, 4 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
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkFlattenableSerialization.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkFlattenableSerialization.h
diff --git a/include/core/SkFlattenableSerialization.h b/include/core/SkFlattenableSerialization.h
new file mode 100644
index 0000000000000000000000000000000000000000..e9076348fde50dde5dcc3ae461c3519643bd6030
--- /dev/null
+++ b/include/core/SkFlattenableSerialization.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkFlattenableSerialization_DEFINED
+#define SkFlattenableSerialization_DEFINED
+
+#include "SkTypes.h"
+
+class SkData;
+class SkFlattenable;
+
+SK_API SkData* SkSerializeFlattenable(SkFlattenable*);
+SK_API SkFlattenable* SkDeserializeFlattenable(const void* data, size_t size);
+
+#endif
+
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkFlattenableSerialization.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698