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

Unified Diff: cc/tiles/tile_manager.h

Issue 2797883002: cc: Add TileManager::GetActivationStateAsValue for debugging state. (Closed)
Patch Set: update 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') | cc/tiles/tile_manager.cc » ('J')
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..3327cf1bf99347fc75076ed1394eeacc7f980176 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -229,6 +229,11 @@ 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.
+ std::unique_ptr<base::trace_event::ConvertableToTraceFormat>
+ ActivationStateAsValue();
+
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') | cc/tiles/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698