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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h

Issue 2825893003: Remove ResourceFetcher::DeadResourceStatsRecorder (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 | third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
index 1dcd6d738564f25f4500c2c56f525a5d5cb77d34..bb1d1bd300a560d89aeb7eb1c0188344de3dd5b7 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
@@ -245,23 +245,6 @@ class PLATFORM_EXPORT ResourceFetcher
HeapHashSet<Member<ResourceLoader>> loaders_;
HeapHashSet<Member<ResourceLoader>> non_blocking_loaders_;
- // Used in hit rate histograms.
- class DeadResourceStatsRecorder {
- DISALLOW_NEW();
-
- public:
- DeadResourceStatsRecorder();
- ~DeadResourceStatsRecorder();
-
- void Update(RevalidationPolicy);
-
- private:
- int use_count_;
- int revalidate_count_;
- int load_count_;
- };
- DeadResourceStatsRecorder dead_stats_recorder_;
-
std::unique_ptr<HashSet<String>> preloaded_urls_for_test_;
// 28 bits left
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698