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

Side by Side Diff: chrome/browser/importer/importer_creator.cc

Issue 18555005: Move importer messages to common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_creator.h ('k') | chrome/browser/importer/importer_data_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698