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

Side by Side Diff: webkit/appcache/appcache_histograms.h

Issue 10207020: Workaround for a crashing appcache bug seen on the crash servers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/appcache/appcache_histograms.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_APPCACHE_APPCACHE_HISTOGRAMS_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_HISTOGRAMS_H_
6 #define WEBKIT_APPCACHE_APPCACHE_HISTOGRAMS_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_HISTOGRAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 16 matching lines...) Expand all
27 READ_HEADERS_ERROR, READ_DATA_ERROR, UNEXPECTED_DATA_SIZE, CHECK_CANCELED, 27 READ_HEADERS_ERROR, READ_DATA_ERROR, UNEXPECTED_DATA_SIZE, CHECK_CANCELED,
28 NUM_CHECK_RESPONSE_RESULT_TYPES 28 NUM_CHECK_RESPONSE_RESULT_TYPES
29 }; 29 };
30 static void CountCheckResponseResult(CheckResponseResultType result); 30 static void CountCheckResponseResult(CheckResponseResultType result);
31 31
32 static void AddTaskQueueTimeSample(const base::TimeDelta& duration); 32 static void AddTaskQueueTimeSample(const base::TimeDelta& duration);
33 static void AddTaskRunTimeSample(const base::TimeDelta& duration); 33 static void AddTaskRunTimeSample(const base::TimeDelta& duration);
34 static void AddCompletionQueueTimeSample(const base::TimeDelta& duration); 34 static void AddCompletionQueueTimeSample(const base::TimeDelta& duration);
35 static void AddCompletionRunTimeSample(const base::TimeDelta& duration); 35 static void AddCompletionRunTimeSample(const base::TimeDelta& duration);
36 36
37 static void AddMissingManifestEntrySample();
38
39 enum MissingManifestCallsiteType {
40 CALLSITE_0, CALLSITE_1, CALLSITE_2, CALLSITE_3,
41 NUM_MISSING_MANIFEST_CALLSITE_TYPES
42 };
43 static void AddMissingManifestDetectedAtCallsite(
44 MissingManifestCallsiteType type);
45
37 private: 46 private:
38 DISALLOW_IMPLICIT_CONSTRUCTORS(AppCacheHistograms); 47 DISALLOW_IMPLICIT_CONSTRUCTORS(AppCacheHistograms);
39 }; 48 };
40 49
41 } // namespace appcache 50 } // namespace appcache
42 51
43 #endif // WEBKIT_APPCACHE_APPCACHE_HISTOGRAMS_H_ 52 #endif // WEBKIT_APPCACHE_APPCACHE_HISTOGRAMS_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/appcache/appcache_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698