Index: cc/tile_manager.h |
diff --git a/cc/tile_manager.h b/cc/tile_manager.h |
index 6137aabec53371ce798052ea87e40dcf5ee32a3f..89ea882c3efb4f7468e8b745962a2391c48cd2aa 100644 |
--- a/cc/tile_manager.h |
+++ b/cc/tile_manager.h |
@@ -49,6 +49,8 @@ enum TileManagerBinPriority { |
LOW_PRIORITY_BIN = 1, |
NUM_BIN_PRIORITIES = 2 |
}; |
+scoped_ptr<base::Value> TileManagerBinPriorityAsValue( |
+ TileManagerBinPriority bin); |
enum TileRasterState { |
IDLE_STATE = 0, |
@@ -57,6 +59,8 @@ enum TileRasterState { |
SET_PIXELS_STATE = 3, |
NUM_STATES = 4 |
}; |
+scoped_ptr<base::Value> TileRasterStateAsValue( |
+ TileRasterState bin); |
// This is state that is specific to a tile that is |
// managed by the TileManager. |
@@ -64,6 +68,7 @@ class CC_EXPORT ManagedTileState { |
public: |
ManagedTileState(); |
~ManagedTileState(); |
+ scoped_ptr<base::Value> AsValue() const; |
// Persisted state: valid all the time. |
bool can_use_gpu_memory; |
@@ -105,6 +110,7 @@ class CC_EXPORT TileManager { |
void CheckForCompletedTileUploads(); |
scoped_ptr<base::Value> AsValue() const; |
+ scoped_ptr<base::Value> AllTilesAsValue() const; |
void GetMemoryStats(size_t* memoryRequiredBytes, |
size_t* memoryNiceToHaveBytes, |
size_t* memoryUsedBytes) const; |