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

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

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
« no previous file with comments | « chrome/browser/importer/importer_bridge.h ('k') | chrome/browser/importer/importer_creator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_CREATOR_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_CREATOR_H_
7
8 #include <string>
9
10 #include "chrome/common/importer/importer_type.h"
11
12 class Importer;
13
14 namespace importer {
15
16 // Creates an Importer of the specified |type|.
17 Importer* CreateImporterByType(ImporterType type);
18
19 // Logs to UMA that an Importer of the specified |type| was used. Uses
20 // |metric_postfix| to split by entry point. Note: Values passed via
21 // |metric_postfix| require a matching "Import.ImporterType.|metric_postfix|"
22 // entry in tools/metrics/histograms/histograms.xml.
23 void LogImporterUseToMetrics(const std::string& metric_prefix,
24 ImporterType type);
25
26 } // namespace importer
27
28 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_CREATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_bridge.h ('k') | chrome/browser/importer/importer_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698