diff options
Diffstat (limited to 'webkit/appcache/appcache_histograms.h')
-rw-r--r-- | webkit/appcache/appcache_histograms.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_histograms.h b/webkit/appcache/appcache_histograms.h index d74f9e7..e9371c3 100644 --- a/webkit/appcache/appcache_histograms.h +++ b/webkit/appcache/appcache_histograms.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -34,6 +34,15 @@ class AppCacheHistograms { static void AddCompletionQueueTimeSample(const base::TimeDelta& duration); static void AddCompletionRunTimeSample(const base::TimeDelta& duration); + static void AddMissingManifestEntrySample(); + + enum MissingManifestCallsiteType { + CALLSITE_0, CALLSITE_1, CALLSITE_2, CALLSITE_3, + NUM_MISSING_MANIFEST_CALLSITE_TYPES + }; + static void AddMissingManifestDetectedAtCallsite( + MissingManifestCallsiteType type); + private: DISALLOW_IMPLICIT_CONSTRUCTORS(AppCacheHistograms); }; |