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

Unified Diff: chrome/browser/task_manager/renderer_resource.h

Issue 319953002: Task Manager: Remove dead FPS code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
Index: chrome/browser/task_manager/renderer_resource.h
diff --git a/chrome/browser/task_manager/renderer_resource.h b/chrome/browser/task_manager/renderer_resource.h
index 94fdf61a6d761b88288ccf7c5ac50764b2dd95f0..e06fb13e10f245b93748ded860c7b70f4d61abec 100644
--- a/chrome/browser/task_manager/renderer_resource.h
+++ b/chrome/browser/task_manager/renderer_resource.h
@@ -32,8 +32,6 @@ class RendererResource : public Resource {
virtual bool ReportsCacheStats() const OVERRIDE;
virtual blink::WebCache::ResourceTypeStats GetWebCoreCacheStats() const
OVERRIDE;
- virtual bool ReportsFPS() const OVERRIDE;
- virtual float GetFPS() const OVERRIDE;
virtual bool ReportsV8MemoryStats() const OVERRIDE;
virtual size_t GetV8MemoryAllocated() const OVERRIDE;
virtual size_t GetV8MemoryUsed() const OVERRIDE;
@@ -51,8 +49,6 @@ class RendererResource : public Resource {
virtual void NotifyResourceTypeStats(
const blink::WebCache::ResourceTypeStats& stats) OVERRIDE;
- virtual void NotifyFPS(float fps) OVERRIDE;
-
virtual void NotifyV8HeapStats(size_t v8_memory_allocated,
size_t v8_memory_used) OVERRIDE;
@@ -73,11 +69,6 @@ class RendererResource : public Resource {
// This flag is true if we are waiting for the renderer to report its stats.
bool pending_stats_update_;
- // The fps_ field holds the renderer frames per second.
- float fps_;
- // This flag is true if we are waiting for the renderer to report its FPS.
- bool pending_fps_update_;
-
// We do a similar dance to gather the V8 memory usage in a process.
size_t v8_memory_allocated_;
size_t v8_memory_used_;
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/browser/task_manager/renderer_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698