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

Unified Diff: webkit/browser/appcache/appcache_histograms.h

Issue 165613002: Add UMA stats for AppCacheUpdateJob results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | webkit/browser/appcache/appcache_histograms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/appcache/appcache_histograms.h
diff --git a/webkit/browser/appcache/appcache_histograms.h b/webkit/browser/appcache/appcache_histograms.h
index 7718ae1f1e114ab98552d76545da787000635da0..94d467fac6bd6bdb30537512ec080d998efa124d 100644
--- a/webkit/browser/appcache/appcache_histograms.h
+++ b/webkit/browser/appcache/appcache_histograms.h
@@ -6,6 +6,7 @@
#define WEBKIT_BROWSER_APPCACHE_APPCACHE_HISTOGRAMS_H_
#include "base/basictypes.h"
+#include "webkit/browser/appcache/appcache_update_job.h"
namespace base {
class TimeDelta;
@@ -22,7 +23,8 @@ class AppCacheHistograms {
static void CountInitResult(InitResultType init_result);
static void CountReinitAttempt(bool repeated_attempt);
static void CountCorruptionDetected();
-
+ static void CountUpdateJobResult(AppCacheUpdateJob::ResultType result,
+ const GURL& origin_url);
enum CheckResponseResultType {
RESPONSE_OK, MANIFEST_OUT_OF_DATE, RESPONSE_OUT_OF_DATE, ENTRY_NOT_FOUND,
READ_HEADERS_ERROR, READ_DATA_ERROR, UNEXPECTED_DATA_SIZE, CHECK_CANCELED,
« no previous file with comments | « no previous file | webkit/browser/appcache/appcache_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698