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

Unified Diff: chrome/browser/metrics/first_web_contents_profiler.h

Issue 1422773003: Revert "Record time for UI task to execute under 1/60s" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ab3_firstpaint2
Patch Set: git cl format Created 5 years, 2 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 | chrome/browser/metrics/first_web_contents_profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/first_web_contents_profiler.h
diff --git a/chrome/browser/metrics/first_web_contents_profiler.h b/chrome/browser/metrics/first_web_contents_profiler.h
index d0cf306d0ef420d8287f0ac0878e7c87adae8b5e..d35c98a75ab89d59505a37d738b2e526b32ddc5b 100644
--- a/chrome/browser/metrics/first_web_contents_profiler.h
+++ b/chrome/browser/metrics/first_web_contents_profiler.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_
#include "base/memory/scoped_ptr.h"
-#include "base/metrics/histogram.h"
#include "content/public/browser/web_contents_observer.h"
namespace content {
@@ -74,9 +73,6 @@ class FirstWebContentsProfiler : public content::WebContentsObserver {
// metrics. Logs |finish_reason| to UMA.
void FinishedCollectingMetrics(FinishReason finish_reason);
- // Initialize histograms for unresponsiveness metrics.
- void InitHistograms();
-
// Whether an attempt was made to collect the "NonEmptyPaint" metric.
bool collected_paint_metric_;
@@ -97,24 +93,6 @@ class FirstWebContentsProfiler : public content::WebContentsObserver {
// |delegate_| owns |this|.
Delegate* delegate_;
- // Histogram that keeps track of response times for the watched thread.
- base::HistogramBase* responsiveness_histogram_;
-
- // Histogram that keeps track of response times for the watched thread.
- base::HistogramBase* responsiveness_1sec_histogram_;
-
- // Histogram that keeps track of response times for the watched thread.
- base::HistogramBase* responsiveness_10sec_histogram_;
-
- // Histogram that keeps track of response times for the watched thread.
- base::HistogramBase* unresponsiveness_histogram_;
-
- // Histogram that keeps track of response times for the watched thread.
- base::HistogramBase* unresponsiveness_1sec_histogram_;
-
- // Histogram that keeps track of response times for the watched thread.
- base::HistogramBase* unresponsiveness_10sec_histogram_;
-
DISALLOW_COPY_AND_ASSIGN(FirstWebContentsProfiler);
};
« no previous file with comments | « no previous file | chrome/browser/metrics/first_web_contents_profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698