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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/basictypes.h" 9 #include "base/macros.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.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).
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 switch (id) { 119 switch (id) {
120 TEST_CASES(name); // See above 120 TEST_CASES(name); // See above
121 default: 121 default:
122 NOTREACHED() << "Unhandled UMA Metric type" << id; 122 NOTREACHED() << "Unhandled UMA Metric type" << id;
123 } 123 }
124 } 124 }
125 #undef TEST_CASE 125 #undef TEST_CASE
126 #undef TEST_CASES 126 #undef TEST_CASES
127 127
128 } // namespace diagnostics 128 } // namespace diagnostics
OLDNEW
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_controller_unittest.cc ('k') | chrome/browser/diagnostics/diagnostics_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698