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

Unified Diff: cc/raster/task.h

Issue 2537683002: cc: Add image decode queue functionality to image manager. (Closed)
Patch Set: test fix Created 3 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
« no previous file with comments | « cc/playback/image_hijack_canvas_unittest.cc ('k') | cc/raster/task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/task.h
diff --git a/cc/raster/task.h b/cc/raster/task.h
index 2c406077c8be59f3195cf4d00ba571c5571dd294..01c16a02f45035787df56d3526ed389f8ca3932a 100644
--- a/cc/raster/task.h
+++ b/cc/raster/task.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <string>
#include <vector>
#include "base/memory/ref_counted.h"
@@ -38,6 +39,7 @@ class Task;
// └─────────┘ ╚══════════╝
class CC_EXPORT TaskState {
public:
+ bool IsNew() const;
bool IsScheduled() const;
bool IsRunning() const;
bool IsFinished() const;
@@ -53,6 +55,8 @@ class CC_EXPORT TaskState {
void DidFinish();
void DidCancel();
+ std::string ToString() const;
+
private:
friend class Task;
« no previous file with comments | « cc/playback/image_hijack_canvas_unittest.cc ('k') | cc/raster/task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698