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

Side by Side Diff: chrome/browser/diagnostics/diagnostics_metrics.cc

Issue 2299993004: Migrate chrome/browser 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/diagnostics/diagnostics_metrics.h" 5 #include "chrome/browser/diagnostics/diagnostics_metrics.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram_macros.h"
11 #include "chrome/browser/diagnostics/diagnostics_test.h" 11 #include "chrome/browser/diagnostics/diagnostics_test.h"
12 12
13 namespace diagnostics { 13 namespace diagnostics {
14 14
15 namespace { 15 namespace {
16 16
17 // A struct to hold information about the tests. 17 // A struct to hold information about the tests.
18 struct TestNameInfo { 18 struct TestNameInfo {
19 // Should only contain characters [A-Za-z0-9] (no spaces). 19 // Should only contain characters [A-Za-z0-9] (no spaces).
20 const char* name; 20 const char* name;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 switch (id) { 123 switch (id) {
124 TEST_CASES(name); // See above 124 TEST_CASES(name); // See above
125 default: 125 default:
126 NOTREACHED() << "Unhandled UMA Metric type" << id; 126 NOTREACHED() << "Unhandled UMA Metric type" << id;
127 } 127 }
128 } 128 }
129 #undef TEST_CASE 129 #undef TEST_CASE
130 #undef TEST_CASES 130 #undef TEST_CASES
131 131
132 } // namespace diagnostics 132 } // namespace diagnostics
OLDNEW
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_controller.cc ('k') | chrome/browser/diagnostics/diagnostics_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698