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

Side by Side Diff: components/autofill/core/browser/autofill_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 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 "components/autofill/core/browser/autofill_metrics.h" 5 #include "components/autofill/core/browser/autofill_metrics.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/metrics/sparse_histogram.h" 9 #include "base/metrics/sparse_histogram.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "components/autofill/core/browser/autofill_type.h" 11 #include "components/autofill/core/browser/autofill_type.h"
12 #include "components/autofill/core/browser/form_structure.h" 12 #include "components/autofill/core/browser/form_structure.h"
13 #include "components/autofill/core/common/form_data.h" 13 #include "components/autofill/core/common/form_data.h"
14 14
15 namespace autofill { 15 namespace autofill {
16 16
17 namespace { 17 namespace {
18 18
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 else if (is_server_data_available_ && !is_local_data_available_) 758 else if (is_server_data_available_ && !is_local_data_available_)
759 name += ".WithOnlyServerData"; 759 name += ".WithOnlyServerData";
760 else if (!is_server_data_available_ && is_local_data_available_) 760 else if (!is_server_data_available_ && is_local_data_available_)
761 name += ".WithOnlyLocalData"; 761 name += ".WithOnlyLocalData";
762 else 762 else
763 name += ".WithBothServerAndLocalData"; 763 name += ".WithBothServerAndLocalData";
764 LogUMAHistogramEnumeration(name, event, NUM_FORM_EVENTS); 764 LogUMAHistogramEnumeration(name, event, NUM_FORM_EVENTS);
765 } 765 }
766 766
767 } // namespace autofill 767 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698