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

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

Issue 1465853002: Implement support for importing favorites from Edge on Windows 10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing include files Created 5 years 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/browser/importer/importer_uma.cc
diff --git a/chrome/browser/importer/importer_uma.cc b/chrome/browser/importer/importer_uma.cc
index 839dd6e68d397c4b09ba878b8006fa32cb613baf..da87e84ffe7c2193ea16d24f1ee1174c51c9503f 100644
--- a/chrome/browser/importer/importer_uma.cc
+++ b/chrome/browser/importer/importer_uma.cc
@@ -22,6 +22,9 @@ enum ImporterTypeMetrics {
#endif
IMPORTER_METRICS_GOOGLE_TOOLBAR5 = 5, // obsolete
IMPORTER_METRICS_BOOKMARKS_FILE = 6,
+#if defined(OS_WIN)
+ IMPORTER_METRICS_EDGE = 7,
+#endif
// Insert new values here. Never remove any existing values, as this enum is
// used to bucket a UMA histogram, and removing values breaks that.
@@ -41,6 +44,9 @@ void LogImporterUseToMetrics(const std::string& metric_postfix,
case TYPE_IE:
metrics_type = IMPORTER_METRICS_IE;
break;
+ case TYPE_EDGE:
+ metrics_type = IMPORTER_METRICS_EDGE;
+ break;
#endif
case TYPE_FIREFOX:
metrics_type = IMPORTER_METRICS_FIREFOX3;

Powered by Google App Engine
This is Rietveld 408576698