Index: dm/DMWriteTask.h |
diff --git a/dm/DMWriteTask.h b/dm/DMWriteTask.h |
index 839abd7ef14d7f70e584433318766c26fac716ba..121dc0d13e4e0d3df77f7cd6760c44259b3c495a 100644 |
--- a/dm/DMWriteTask.h |
+++ b/dm/DMWriteTask.h |
@@ -15,8 +15,13 @@ namespace DM { |
class WriteTask : public CpuTask { |
public: |
- WriteTask(const Task& parent, // WriteTask must be a child Task. Pass its parent here. |
- SkBitmap bitmap); // Bitmap to write. |
+ enum Mode { |
+ kParseName_Mode, // Parse the parent's name into directories by underscores. |
+ kVerbatim_Mode, // Don't parse the name at all. |
+ }; |
+ WriteTask(const Task& parent, // WriteTask must be a child Task. Pass its parent here. |
+ SkBitmap bitmap, // Bitmap to write. |
+ Mode = kParseName_Mode); |
virtual void draw() SK_OVERRIDE; |
virtual bool shouldSkip() const SK_OVERRIDE; |