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

Unified Diff: components/precache/core/precache_fetcher.h

Issue 1212773002: Add prefetch UMA metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/respective //. Created 5 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: components/precache/core/precache_fetcher.h
diff --git a/components/precache/core/precache_fetcher.h b/components/precache/core/precache_fetcher.h
index de368419707d7bc55500b11ff15b13c5d7ca134e..67a85c714d6b0311a5eb29e8e296b2686bf2c5f5 100644
--- a/components/precache/core/precache_fetcher.h
+++ b/components/precache/core/precache_fetcher.h
@@ -121,8 +121,13 @@ class PrecacheFetcher {
// Non-owning pointer. Should not be NULL.
PrecacheDelegate* precache_delegate_;
+ // Tally of the total number of bytes received from URL fetches, including
+ // config, manifests, and resources.
+ int total_response_bytes_;
+
scoped_ptr<Fetcher> fetcher_;
+ int num_manifest_urls_to_fetch_;
std::list<GURL> manifest_urls_to_fetch_;
std::list<GURL> resource_urls_to_fetch_;
« no previous file with comments | « no previous file | components/precache/core/precache_fetcher.cc » ('j') | components/precache/core/precache_fetcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698