OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/importer/importer_type.h" | 5 #include "chrome/browser/importer/importer_creator.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "chrome/browser/importer/bookmarks_file_importer.h" | 9 #include "chrome/browser/importer/bookmarks_file_importer.h" |
10 #include "chrome/browser/importer/firefox3_importer.h" | 10 #include "chrome/browser/importer/firefox3_importer.h" |
11 | 11 |
12 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
13 #include "chrome/browser/importer/ie_importer.h" | 13 #include "chrome/browser/importer/ie_importer.h" |
14 #endif | 14 #endif |
15 | 15 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 base::LinearHistogram::FactoryGet( | 98 base::LinearHistogram::FactoryGet( |
99 "Import.ImporterType." + metric_postfix, | 99 "Import.ImporterType." + metric_postfix, |
100 1, | 100 1, |
101 IMPORTER_METRICS_SIZE, | 101 IMPORTER_METRICS_SIZE, |
102 IMPORTER_METRICS_SIZE + 1, | 102 IMPORTER_METRICS_SIZE + 1, |
103 base::HistogramBase::kUmaTargetedHistogramFlag); | 103 base::HistogramBase::kUmaTargetedHistogramFlag); |
104 histogram->Add(metrics_type); | 104 histogram->Add(metrics_type); |
105 } | 105 } |
106 | 106 |
107 } // namespace importer | 107 } // namespace importer |
OLD | NEW |