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

Unified Diff: webkit/appcache/appcache_histograms.h

Issue 8572048: Histogram appcache task queue and run times. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | webkit/appcache/appcache_histograms.cc » ('j') | webkit/appcache/appcache_histograms.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_histograms.h
===================================================================
--- webkit/appcache/appcache_histograms.h (revision 110360)
+++ webkit/appcache/appcache_histograms.h (working copy)
@@ -8,6 +8,10 @@
#include "base/basictypes.h"
+namespace base {
+class TimeDelta;
+}
+
namespace appcache {
class AppCacheHistograms {
@@ -25,6 +29,10 @@
};
static void CountCheckResponseResult(CheckResponseResultType result);
+ static void AddTaskQueueTimeSample(const base::TimeDelta& duration);
+ static void AddTaskRunTimeSample(const base::TimeDelta& duration);
+ static void AddTaskCompletionTimeSample(const base::TimeDelta& duration);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(AppCacheHistograms);
};
« no previous file with comments | « no previous file | webkit/appcache/appcache_histograms.cc » ('j') | webkit/appcache/appcache_histograms.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698