Chromium Code Reviews| Index: cc/resources/picture.h |
| diff --git a/cc/resources/picture.h b/cc/resources/picture.h |
| index 8598fbf62b3c0a7ce983c9acd10737ef19e71d4a..44ecceee7a1cfd4fe6f965a887bcedd78f73a5a9 100644 |
| --- a/cc/resources/picture.h |
| +++ b/cc/resources/picture.h |
| @@ -6,6 +6,7 @@ |
| #define CC_RESOURCES_PICTURE_H_ |
| #include <list> |
| +#include <string> |
| #include <vector> |
| #include "base/basictypes.h" |
| @@ -59,6 +60,8 @@ class CC_EXPORT Picture |
| const gfx::Rect& layer_rect, |
| std::list<skia::LazyPixelRef*>& pixel_ref_list); |
| + void AsBase64String(std::string* output) const; |
| + void SetPictureFromBase64String(const std::string& encoded); |
| private: |
|
tfarina
2013/04/13 00:49:01
nit: add a blank line above.
|
| explicit Picture(gfx::Rect layer_rect); |
| // This constructor assumes SkPicture is already ref'd and transfers |