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

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

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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.h"
8 #include "base/metrics/histogram_macros.h"
8 #include "content/public/common/origin_util.h" 9 #include "content/public/common/origin_util.h"
9 10
10 namespace content { 11 namespace content {
11 12
12 static std::string OriginToCustomHistogramSuffix(const GURL& origin_url) { 13 static std::string OriginToCustomHistogramSuffix(const GURL& origin_url) {
13 if (origin_url.host_piece() == "docs.google.com") 14 if (origin_url.host_piece() == "docs.google.com")
14 return ".Docs"; 15 return ".Docs";
15 return std::string(); 16 return std::string();
16 } 17 }
17 18
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 150 }
150 151
151 void AppCacheHistograms::AddMissingManifestDetectedAtCallsite( 152 void AppCacheHistograms::AddMissingManifestDetectedAtCallsite(
152 MissingManifestCallsiteType callsite) { 153 MissingManifestCallsiteType callsite) {
153 UMA_HISTOGRAM_ENUMERATION( 154 UMA_HISTOGRAM_ENUMERATION(
154 "appcache.MissingManifestDetectedAtCallsite", 155 "appcache.MissingManifestDetectedAtCallsite",
155 callsite, NUM_MISSING_MANIFEST_CALLSITE_TYPES); 156 callsite, NUM_MISSING_MANIFEST_CALLSITE_TYPES);
156 } 157 }
157 158
158 } // namespace content 159 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698