Index: src/pipe/SkDeduper.h |
diff --git a/src/pipe/SkDeduper.h b/src/pipe/SkDeduper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..929f60f0c86f2f8f992d2632a73d625d1da3d57c |
--- /dev/null |
+++ b/src/pipe/SkDeduper.h |
@@ -0,0 +1,20 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SkDeduper_DEFINED |
+#define SkDeduper_DEFINED |
+ |
+#include "SkTypes.h" |
+ |
+class SkDeduper { |
+public: |
+ virtual ~SkDeduper() {} |
+ |
+ virtual int32_t findOrDefine(void*) = 0; |
+}; |
+ |
+#endif |