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

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

Issue 2303653005: Migrate content/ files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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
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 #include "content/browser/appcache/appcache_histograms.h" 5 #include "content/browser/appcache/appcache_histograms.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram_macros.h"
8 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "content/public/common/origin_util.h" 9 #include "content/public/common/origin_util.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 static std::string OriginToCustomHistogramSuffix(const GURL& origin_url) { 13 static std::string OriginToCustomHistogramSuffix(const GURL& origin_url) {
14 if (origin_url.host_piece() == "docs.google.com") 14 if (origin_url.host_piece() == "docs.google.com")
15 return ".Docs"; 15 return ".Docs";
16 return std::string(); 16 return std::string();
17 } 17 }
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 150 }
151 151
152 void AppCacheHistograms::AddMissingManifestDetectedAtCallsite( 152 void AppCacheHistograms::AddMissingManifestDetectedAtCallsite(
153 MissingManifestCallsiteType callsite) { 153 MissingManifestCallsiteType callsite) {
154 UMA_HISTOGRAM_ENUMERATION( 154 UMA_HISTOGRAM_ENUMERATION(
155 "appcache.MissingManifestDetectedAtCallsite", 155 "appcache.MissingManifestDetectedAtCallsite",
156 callsite, NUM_MISSING_MANIFEST_CALLSITE_TYPES); 156 callsite, NUM_MISSING_MANIFEST_CALLSITE_TYPES);
157 } 157 }
158 158
159 } // namespace content 159 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/browser_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698