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

Unified Diff: chrome/common/importer/importer_type.h

Issue 18555005: Move importer messages to common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/importer/importer_type.h
diff --git a/chrome/browser/importer/importer_type.h b/chrome/common/importer/importer_type.h
similarity index 52%
rename from chrome/browser/importer/importer_type.h
rename to chrome/common/importer/importer_type.h
index 280bad0881acbb5f9168893a6412b62b56621a2d..7b301af850106abe14cfa721233f7d4ebde2f14e 100644
--- a/chrome/browser/importer/importer_type.h
+++ b/chrome/common/importer/importer_type.h
@@ -1,16 +1,12 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// 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_TYPE_H_
-#define CHROME_BROWSER_IMPORTER_IMPORTER_TYPE_H_
-
-#include <string>
+#ifndef CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_
+#define CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_
#include "build/build_config.h"
-class Importer;
-
namespace importer {
// An enumeration of the type of importers that we support to import
@@ -31,16 +27,7 @@ enum ImporterType {
TYPE_BOOKMARKS_FILE = 5 // Identifies a 'bookmarks.html' file.
};
-// 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|"
-// entry in tools/metrics/histograms/histograms.xml.
-void LogImporterUseToMetrics(const std::string& metric_prefix,
- ImporterType type);
-
} // namespace importer
-#endif // CHROME_BROWSER_IMPORTER_IMPORTER_TYPE_H_
+
+#endif // CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_
« no previous file with comments | « chrome/common/importer/importer_data_types.cc ('k') | chrome/common/importer/profile_import_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698