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

Unified Diff: chrome/browser/importer/importer_uma.h

Issue 18501013: Move most importer code to chrome/utility/importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another gyp attempt 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/importer/importer_list.cc ('k') | chrome/browser/importer/importer_uma.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer_uma.h
diff --git a/chrome/browser/importer/importer_creator.h b/chrome/browser/importer/importer_uma.h
similarity index 70%
rename from chrome/browser/importer/importer_creator.h
rename to chrome/browser/importer/importer_uma.h
index b3b74653e2a1c2fe0c6e3d9f93b0d9ab632fa6fe..c71e6c9b823ade80d20ed8dac7e76be2c8a12aad 100644
--- a/chrome/browser/importer/importer_creator.h
+++ b/chrome/browser/importer/importer_uma.h
@@ -2,20 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_IMPORTER_IMPORTER_CREATOR_H_
-#define CHROME_BROWSER_IMPORTER_IMPORTER_CREATOR_H_
+#ifndef CHROME_BROWSER_IMPORTER_IMPORTER_UMA_H_
+#define CHROME_BROWSER_IMPORTER_IMPORTER_UMA_H_
#include <string>
-
+#include "base/metrics/histogram.h"
#include "chrome/common/importer/importer_type.h"
-class Importer;
-
namespace importer {
-// Creates an Importer of the specified |type|.
-Importer* CreateImporterByType(ImporterType type);
-
// Logs to UMA that an Importer of the specified |type| was used. Uses
// |metric_postfix| to split by entry point. Note: Values passed via
// |metric_postfix| require a matching "Import.ImporterType.|metric_postfix|"
@@ -25,4 +20,4 @@ void LogImporterUseToMetrics(const std::string& metric_prefix,
} // namespace importer
-#endif // CHROME_BROWSER_IMPORTER_IMPORTER_CREATOR_H_
+#endif // CHROME_BROWSER_IMPORTER_IMPORTER_UMA_H_
« no previous file with comments | « chrome/browser/importer/importer_list.cc ('k') | chrome/browser/importer/importer_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698