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

Side by Side Diff: content/renderer/manifest/manifest_uma_util.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/renderer/manifest/manifest_uma_util.h" 5 #include "content/renderer/manifest/manifest_uma_util.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram_macros.h"
8 #include "content/public/common/manifest.h" 8 #include "content/public/common/manifest.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 namespace { 12 namespace {
13 13
14 static const char kUMANameParseSuccess[] = "Manifest.ParseSuccess"; 14 static const char kUMANameParseSuccess[] = "Manifest.ParseSuccess";
15 static const char kUMANameFetchResult[] = "Manifest.FetchResult"; 15 static const char kUMANameFetchResult[] = "Manifest.FetchResult";
16 16
17 // Enum for UMA purposes, make sure you update histograms.xml if you add new 17 // Enum for UMA purposes, make sure you update histograms.xml if you add new
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 break; 69 break;
70 } 70 }
71 DCHECK_NE(fetch_result_type, MANIFEST_FETCH_RESULT_TYPE_COUNT); 71 DCHECK_NE(fetch_result_type, MANIFEST_FETCH_RESULT_TYPE_COUNT);
72 72
73 UMA_HISTOGRAM_ENUMERATION(kUMANameFetchResult, 73 UMA_HISTOGRAM_ENUMERATION(kUMANameFetchResult,
74 fetch_result_type, 74 fetch_result_type,
75 MANIFEST_FETCH_RESULT_TYPE_COUNT); 75 MANIFEST_FETCH_RESULT_TYPE_COUNT);
76 } 76 }
77 77
78 } // namespace content 78 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gamepad_shared_memory_reader.cc ('k') | content/renderer/media/android/media_info_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698