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

Side by Side Diff: components/translate/core/browser/translate_browser_metrics.cc

Issue 1178683009: Change histogram.h includes to histogram_macros.h in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 "components/translate/core/browser/translate_browser_metrics.h" 5 #include "components/translate/core/browser/translate_browser_metrics.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram_macros.h"
11 #include "base/metrics/sparse_histogram.h" 11 #include "base/metrics/sparse_histogram.h"
12 #include "components/language_usage_metrics/language_usage_metrics.h" 12 #include "components/language_usage_metrics/language_usage_metrics.h"
13 13
14 namespace translate { 14 namespace translate {
15 15
16 namespace { 16 namespace {
17 17
18 // Constant string values to indicate UMA names. All entries should have 18 // Constant string values to indicate UMA names. All entries should have
19 // a corresponding index in MetricsNameIndex and an entry in |kMetricsEntries|. 19 // a corresponding index in MetricsNameIndex and an entry in |kMetricsEntries|.
20 const char kTranslateInitiationStatus[] = 20 const char kTranslateInitiationStatus[] =
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 if (kMetricsEntries[i].index == index) 89 if (kMetricsEntries[i].index == index)
90 return kMetricsEntries[i].name; 90 return kMetricsEntries[i].name;
91 } 91 }
92 NOTREACHED(); 92 NOTREACHED();
93 return NULL; 93 return NULL;
94 } 94 }
95 95
96 } // namespace TranslateBrowserMetrics 96 } // namespace TranslateBrowserMetrics
97 97
98 } // namespace translate 98 } // namespace translate
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698