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

Unified Diff: cc/tiles/tile_manager.h

Issue 2797883002: cc: Add TileManager::GetActivationStateAsValue for debugging state. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index 5de0a15485a61a511906fa1552354f07d906643d..e410399f94391fa95a8dc86e275d63c4f721f8fd 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -229,6 +229,10 @@ class CC_EXPORT TileManager : CheckerImageTrackerClient {
// CheckerImageTrackerClient implementation.
void NeedsInvalidationForCheckerImagedTiles() override;
+ // This method can only be used for debugging information, since it performs a
+ // non trivial amount of work.
+ void GetActivationStateAsValue(base::DictionaryValue* value);
sunnyps 2017/04/05 21:09:50 Can you make this return an std::unique_ptr<base::
vmpstr 2017/04/05 22:15:36 Hm.. I specifically decided not to do this, since
+
protected:
friend class Tile;
// Must be called by tile during destruction.
« no previous file with comments | « no previous file | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698