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

Side by Side Diff: content/browser/appcache/appcache_histograms.h

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_APPCACHE_APPCACHE_HISTOGRAMS_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_HISTOGRAMS_H_
6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_HISTOGRAMS_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_HISTOGRAMS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "webkit/browser/appcache/appcache_update_job.h" 9 #include "content/browser/appcache/appcache_update_job.h"
10 10
11 namespace base { 11 namespace base {
12 class TimeDelta; 12 class TimeDelta;
13 } 13 }
14 14
15 namespace appcache { 15 namespace content {
16 16
17 class AppCacheHistograms { 17 class AppCacheHistograms {
18 public: 18 public:
19 enum InitResultType { 19 enum InitResultType {
20 INIT_OK, SQL_DATABASE_ERROR, DISK_CACHE_ERROR, 20 INIT_OK, SQL_DATABASE_ERROR, DISK_CACHE_ERROR,
21 NUM_INIT_RESULT_TYPES 21 NUM_INIT_RESULT_TYPES
22 }; 22 };
23 static void CountInitResult(InitResultType init_result); 23 static void CountInitResult(InitResultType init_result);
24 static void CountReinitAttempt(bool repeated_attempt); 24 static void CountReinitAttempt(bool repeated_attempt);
25 static void CountCorruptionDetected(); 25 static void CountCorruptionDetected();
(...skipping 25 matching lines...) Expand all
51 CALLSITE_0, CALLSITE_1, CALLSITE_2, CALLSITE_3, 51 CALLSITE_0, CALLSITE_1, CALLSITE_2, CALLSITE_3,
52 NUM_MISSING_MANIFEST_CALLSITE_TYPES 52 NUM_MISSING_MANIFEST_CALLSITE_TYPES
53 }; 53 };
54 static void AddMissingManifestDetectedAtCallsite( 54 static void AddMissingManifestDetectedAtCallsite(
55 MissingManifestCallsiteType type); 55 MissingManifestCallsiteType type);
56 56
57 private: 57 private:
58 DISALLOW_IMPLICIT_CONSTRUCTORS(AppCacheHistograms); 58 DISALLOW_IMPLICIT_CONSTRUCTORS(AppCacheHistograms);
59 }; 59 };
60 60
61 } // namespace appcache 61 } // namespace content
62 62
63 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_HISTOGRAMS_H_ 63 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_HISTOGRAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698